[fix] Better default partition choice

This commit is contained in:
ljf 2017-09-02 02:50:48 +02:00
parent f748ca3369
commit 6095400396

View file

@ -22,26 +22,21 @@ d-i clock-setup/ntp-server string 0.fr.pool.ntp.org
### Partitioning
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select multi
#d-i partman-auto/expert_recipe string \
# condpart :: \
# 300 4000 7000 ext3 \
# $primary{ } $bootable{ } \
# method{ format } format{ } \
# use_filesystem{ } filesystem{ ext3 } \
# mountpoint{ / } \
# . \
# 64 512 300% linux-swap \
# method{ swap } format{ } \
# . \
# 100 10000 1000000000 ext3 \
# method{ keep } format{ } \
# use_filesystem{ } filesystem{ ext3 } \
# mountpoint{ /var } \
# .
d-i partman-auto/expert_recipe string \
condpart :: \
300 4000 7000 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
512 1024 1024 linux-swap \
method{ swap } format{ } \
. \
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean false
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_nooverwrite boolean false
### Account setup
d-i passwd/root-password-crypted password $1$6xBdkGvE$8nLCNRxwABespdFJniEiX0