You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
3.9 KiB
93 lines
3.9 KiB
## Options to set on the command line
|
|
|
|
#d-i debian-installer/locale string en_US
|
|
#d-i debian-installer/language boolean true
|
|
#d-i debian-installer/country boolean true
|
|
#d-i console-setup/ask_detect boolean false
|
|
d-i netcfg/enable boolean false
|
|
d-i clock-setup/utc-auto boolean true
|
|
d-i clock-setup/utc boolean true
|
|
#d-i time/zone string UTC
|
|
d-i clock-setup/ntp boolean true
|
|
|
|
d-i apt-setup/cdrom/set-first boolean true
|
|
d-i apt-setup/cdrom/set-double boolean false
|
|
d-i apt-setup/cdrom/set-next boolean false
|
|
d-i apt-setup/cdrom/set-failed boolean false
|
|
d-i apt-setup/use_mirror boolean false
|
|
|
|
d-i mirror/country string manual
|
|
|
|
d-i netcfg/get_hostname string librem
|
|
d-i netcfg/get_hostname seen false
|
|
d-i mirror/http/hostname string repo.puri.sm
|
|
d-i mirror/http/directory string /pureos
|
|
d-i mirror/http/proxy string
|
|
d-i pkgsel/install-language-support boolean false
|
|
d-i pkgsel/update-policy select none
|
|
|
|
d-i partman/default_filesystem string ext4
|
|
d-i partman-auto/disk string /dev/sda
|
|
d-i partman-lvm/device_remove_lvm boolean true
|
|
d-i partman-md/device_remove_md boolean true
|
|
d-i partman-lvm/confirm boolean true
|
|
d-i partman-auto-lvm/guided_size string max
|
|
d-i partman-auto/method string crypto
|
|
d-i partman-auto/choose_recipe select root-pureos
|
|
d-i partman-auto-lvm/new_vg_name string encrypted
|
|
d-i partman/early_command \
|
|
string sed -i.bak 's/-f $id\/skip_erase/-d $id/g' /lib/partman/lib/crypto-base.sh
|
|
d-i partman-auto/expert_recipe string \
|
|
root-pureos :: \
|
|
1000 2000 2100 ext4 \
|
|
$primary{ } \
|
|
method{ keep } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
label{ rescue } \
|
|
. \
|
|
800 800 800 ext4 \
|
|
$primary{ } $bootable{ } \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ /boot } \
|
|
. \
|
|
2000 2000 2000 linux-swap \
|
|
$lvmok{ } lv_name{ swap } \
|
|
method{ swap } format{ } \
|
|
in_vg { encrypted } \
|
|
. \
|
|
1000 1000 1000000000 ext4 \
|
|
$lvmok{ } lv_name{ root } \
|
|
method{ format } format{ } \
|
|
use_filesystem{ } filesystem{ ext4 } \
|
|
mountpoint{ / } \
|
|
in_vg { encrypted } \
|
|
.
|
|
|
|
d-i partman-basicfilesystems/no_mount_point boolean false
|
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
|
d-i partman/choose_partition select finish
|
|
d-i partman/confirm boolean true
|
|
d-i partman/confirm_nooverwrite boolean true
|
|
|
|
user-setup-udeb passwd/root-login boolean false
|
|
user-setup-udeb user-setup/encrypt-home boolean true
|
|
|
|
d-i popularity-contest/participate boolean false
|
|
d-i hw-detect/load_firmware boolean false
|
|
|
|
|
|
|
|
d-i grub-installer/only_debian boolean true
|
|
d-i grub-installer/with_other_os boolean true
|
|
d-i grub-installer/choose_bootdev string /dev/sda
|
|
d-i finish-install/reboot_in_progress note
|
|
|
|
#grub-pc ucf/changeprompt string install the package maintainer's version
|
|
|
|
d-i preseed/late_command string cp /cdrom/purism/50_custom /target/etc/grub.d/50_custom;\
|
|
chmod a+x /target/etc/grub.d/50_custom;\
|
|
echo "GRUB_DISABLE_OS_PROBER=true" >> /target/etc/default/grub;\
|
|
in-target sed -e '/boot/s/^#*/#/' -i /etc/fstab;\
|
|
in-target update-grub;
|