Configure LUKS and root password via kernel boot options
This commit is contained in:
parent
9d6ce38c8e
commit
cea8812dbd
4 changed files with 38 additions and 9 deletions
10
debian/13-trixie-luks/http/preseed.cfg
vendored
10
debian/13-trixie-luks/http/preseed.cfg
vendored
|
|
@ -18,8 +18,9 @@ d-i netcfg/disable_dhcp boolean false
|
|||
|
||||
### Root Password (no user)
|
||||
d-i passwd/make-user boolean false
|
||||
d-i passwd/root-password password packer
|
||||
d-i passwd/root-password-again password packer
|
||||
# Root password is set via kernel cmdline in debian-trixie.pkr.hcl; these lines are ignored but left here for reference:
|
||||
# d-i passwd/root-password password "$PACKER_ROOT_PASS"
|
||||
# d-i passwd/root-password-again password "$PACKER_ROOT_PASS"
|
||||
|
||||
### Mirror / APT
|
||||
d-i apt-setup/cdrom/set-first boolean false
|
||||
|
|
@ -71,8 +72,9 @@ d-i partman-md/confirm boolean true
|
|||
d-i partman-md/confirm_nooverwrite boolean true
|
||||
|
||||
# LUKS password
|
||||
d-i partman-crypto/passphrase password packer
|
||||
d-i partman-crypto/passphrase-again password packer
|
||||
# LUKS passphrase is set via kernel cmdline in debian-trixie.pkr.hcl; these lines are ignored but left here for reference:
|
||||
# d-i partman-crypto/passphrase password "$PACKER_LUKS_PASS"
|
||||
# d-i partman-crypto/passphrase-again password "$PACKER_LUKS_PASS"
|
||||
d-i partman-crypto/weak_passphrase boolean true
|
||||
d-i partman-crypto/confirm boolean true
|
||||
d-i partman-auto-crypto/erase_disks boolean false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue