Bohan Yang 5 年 前
コミット
b38b002ee2
1 ファイル変更1 行追加1 行削除
  1. 1 1
      debi.sh

+ 1 - 1
debi.sh

@@ -440,7 +440,7 @@ EOF
         echo "d-i partman-auto/disk string $disk" | $save_preseed
     else
         # shellcheck disable=SC2016
-        echo 'd-i partman/early_command string debconf-set partman-auto/disk "$(list-devices disk | head -n 1)"'
+        echo 'd-i partman/early_command string debconf-set partman-auto/disk "$(list-devices disk | head -n 1)"' | $save_preseed
     fi
 
     [ "$force_gpt" = true ] && echo 'd-i partman-partitioning/default_label string gpt' | $save_preseed