Skip to content

Instantly share code, notes, and snippets.

@ppmathis
Last active October 25, 2016 21:48
Show Gist options
  • Select an option

  • Save ppmathis/fad047d87bdc86160a6459cb79d812a5 to your computer and use it in GitHub Desktop.

Select an option

Save ppmathis/fad047d87bdc86160a6459cb79d812a5 to your computer and use it in GitHub Desktop.
d-i debian-installer/locale string en_US
d-i keyboard-configuration/xkb-keymap select ch
d-i netcfg/enable boolean true
d-i netcfg/disable_autoconfig boolean true
d-i hw-detect/load_firmware boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password-crypted password <MD5 PASSWORD HASH>
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Zurich
d-i clock-setup/ntp boolean false
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/method string lvm
d-i partman-auto/choose_recipe select ssx-partitioning
d-i partman-auto/expert_recipe string \
ssx-partitioning :: \
512 512 512 ext4 \
$primary{ } \
$bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
1000 1000 1000000000 ext4 \
$primary{ } \
$defaultignore{ } \
method{ lvm } \
vg_name{ vg-main } \
. \
1000 1000 1000000000 ext4 \
$lvmok { } \
in_vg{ vg-main } lv_name{ lv-root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
512 512 512 linux-swap \
$lvmok{ } \
in_vg{ vg-main } lv_name{ lv-swap } \
method{ swap } format{ } \
.
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-lvm/confirm_nooverwrite boolean true
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
d-i partman-md/confirm boolean true
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
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string default
d-i finish-install/reboot_in_progress note
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i apt-setup/use_mirror boolean true
d-i mirror/country string manual
d-i mirror/http/hostname string httpredir.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i pkgsel/upgrade select full-upgrade
d-i pkgsel/include string openssh-server
tasksel tasksel/first multiselect standard
popularity-contest popularity-contest/participate boolean false
d-i preseed/late_command string \
in-target sed -i 's/PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment