Bohan Yang 7 年之前
父节点
当前提交
6dc43f2300
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      netboot.sh

+ 1 - 1
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