From 6dc43f2300ec3b8507486b51964afa62c520609d Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Mon, 8 Apr 2019 22:18:35 +0800 Subject: [PATCH] Fix --- netboot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netboot.sh b/netboot.sh index 4261b5e..85ba096 100644 --- a/netboot.sh +++ b/netboot.sh @@ -353,7 +353,7 @@ sed -i 's/{{-UPGRADE-}}/'"$DEBI_UPGRADE"'/g' preseed.cfg sed -i 's/{{-FILESYSTEM-}}/'"$DEBI_FILESYS"'/g' preseed.cfg sed -i 's/{{-DISK_ENCRYPTION-}}/'"$DEBI_DISK_ENCRYPTION"'/g' preseed.cfg -if [ "$DEBI_DRYRUN" != true ]; then +if [ "$DEBI_DRY_RUN" != true ]; then wget "$DEBI_BASE_URL/linux" "$DEBI_BASE_URL/initrd.gz" gunzip initrd.gz echo preseed.cfg | cpio -H newc -o -A -F initrd