From 69bf2252e46df75e1efe42847ee5679527b0b40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Fri, 27 Aug 2021 08:37:55 +0200 Subject: [PATCH] Enable offline installation for all images except NETINST We recently switched from DVD to BD (Bluray Disc) because the image didn't fit in a single layer DVD anymore and that changed broke a further check enabling the offline logic. --- simple-cdd/simple-cdd.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/simple-cdd/simple-cdd.conf b/simple-cdd/simple-cdd.conf index 6992657..5a131ba 100644 --- a/simple-cdd/simple-cdd.conf +++ b/simple-cdd/simple-cdd.conf @@ -29,13 +29,13 @@ # To automatically select profiles (must also be listed in profiles): # auto_profiles="foo bar baz" -if [ "$DISKTYPE" = "DVD" ]; then +if [ "$DISKTYPE" = "NETINST" ]; then + profiles="kali" + auto_profiles="kali" +else # Enable offline installation for full installer image profiles="kali offline" auto_profiles="kali offline" -else - profiles="kali" - auto_profiles="kali" fi # To include profiles which only effect the CD build