Bohan Yang 6 年 前
コミット
a84710d8cd
1 ファイル変更7 行追加0 行削除
  1. 7 0
      netboot.sh

+ 7 - 0
netboot.sh

@@ -425,6 +425,13 @@ popularity-contest popularity-contest/participate boolean false
 
 d-i grub-installer/only_debian boolean true
 d-i grub-installer/bootdev string default
+EOF
+
+if [ -n "$DEBI_KERNEL_PARAMS" ]; then
+    echo "d-i debian-installer/add-kernel-opts string$DEBI_KERNEL_PARAMS" | $save_preseed
+fi
+
+$save_preseed << EOF
 
 # Finishing up the installation