|
|
|
@ -45,8 +45,8 @@ ntp=0.debian.pool.ntp.org |
|
|
|
skip_partitioning=false |
|
|
|
skip_partitioning=false |
|
|
|
partitioning_method=regular |
|
|
|
partitioning_method=regular |
|
|
|
disk= |
|
|
|
disk= |
|
|
|
gpt=false |
|
|
|
gpt=true |
|
|
|
efi=false |
|
|
|
efi= |
|
|
|
filesystem=ext4 |
|
|
|
filesystem=ext4 |
|
|
|
kernel= |
|
|
|
kernel= |
|
|
|
install_recommends=true |
|
|
|
install_recommends=true |
|
|
|
@ -161,9 +161,15 @@ while [ $# -gt 0 ]; do |
|
|
|
disk=$2 |
|
|
|
disk=$2 |
|
|
|
shift |
|
|
|
shift |
|
|
|
;; |
|
|
|
;; |
|
|
|
|
|
|
|
--mbr) |
|
|
|
|
|
|
|
gpt=false |
|
|
|
|
|
|
|
;; |
|
|
|
--gpt) |
|
|
|
--gpt) |
|
|
|
gpt=true |
|
|
|
gpt=true |
|
|
|
;; |
|
|
|
;; |
|
|
|
|
|
|
|
--bios) |
|
|
|
|
|
|
|
efi=false |
|
|
|
|
|
|
|
;; |
|
|
|
--efi) |
|
|
|
--efi) |
|
|
|
efi=true |
|
|
|
efi=true |
|
|
|
;; |
|
|
|
;; |
|
|
|
@ -403,6 +409,8 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
echo "d-i partman/default_filesystem string $filesystem" | $save_preseed |
|
|
|
echo "d-i partman/default_filesystem string $filesystem" | $save_preseed |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ -z "$efi" ] && efi=false && [ -d /sys/firmware/efi ] && efi=true |
|
|
|
|
|
|
|
|
|
|
|
$save_preseed << 'EOF' |
|
|
|
$save_preseed << 'EOF' |
|
|
|
d-i partman-auto/expert_recipe string \ |
|
|
|
d-i partman-auto/expert_recipe string \ |
|
|
|
naive :: \ |
|
|
|
naive :: \ |
|
|
|
|