diff --git a/trixie/preseed-efi.cfg b/trixie/preseed-efi.cfg new file mode 100644 index 0000000..cd3006f --- /dev/null +++ b/trixie/preseed-efi.cfg @@ -0,0 +1,104 @@ +#_preseed_V1 + +d-i debian-installer/language string en +d-i debian-installer/country string NL +d-i debian-installer/locale string en_US.UTF-8 +d-i keyboard-configuration/xkb-keymap select us + + +d-i netcfg/choose_interface select auto +d-i netcfg/get_hostname string unassigned-hostname +d-i netcfg/get_domain string de-roo.org +d-i netcfg/wireless_wep string +d-i hw-detect/firmware-lookup string never +d-i hw-detect/load_firmware boolean false + +d-i mirror/country string manual +d-i mirror/http/hostname string http.us.debian.org +d-i mirror/http/directory string /debian +d-i mirror/http/proxy string + +d-i passwd/root-password-crypted password $6$7klXgiEOpN8ow0c4$ggqgPxulpjnVT7Poc35GD0WK14lzC8QQjEw42V21VYRBg9DIL/.QuhrOIc..NB/KMUcB3Ig8aJnIzt/H15X7n. +d-i passwd/user-fullname string Systeembeheerder +d-i passwd/username string beheer +d-i passwd/user-password-crypted password $6$/gPzILK1xVXt4K1K$EJpbyxcjeiRJnZVEzRAXZvuGEZ2O5F9fCKCYGJXqXKHpVUDz3S9WZOZ8Bh9g8tnTfJX3uhCzvr/mrj70oUlXj0 +#d-i passwd/user-uid string 1010 + +d-i clock-setup/utc boolean true +d-i time/zone string Europe/Amsterdam +d-i clock-setup/ntp boolean true +#d-i clock-setup/ntp-server string ntp.example.com + +d-i partman-auto/method string regular +d-i partman-auto-lvm/guided_size string max +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-auto/choose_recipe select atomic +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-efi/non_efi_system boolean true +d-i partman-partitioning/choose_label select gpt +d-i partman-partitioning/default_label string gpt + +d-i apt-setup/cdrom/set-first boolean false +d-i apt-setup/non-free-firmware boolean true +d-i apt-setup/non-free boolean true +d-i apt-setup/contrib boolean true + +tasksel tasksel/first select ssh-server +d-i pkgsel/include string openssh-server vim screen mc ntp krb5-user samba samba-common sssd sudo postfix bsd-mailx nfs-client snmpd realmd packagekit figlet curl wget + +popularity-contest popularity-contest/participate boolean false + +samba-common samba-common/do_debconf boolean true +samba-common samba-common/workgroup string WORKGROUP +samba-common samba-common/dhcp boolean false +postfix postfix/main_cf_conversion_warning boolean true +postfix postfix/root_address string +postfix postfix/compat_conversion_warning boolean true +postfix postfix/tlsmgr_upgrade_warning boolean +postfix postfix/relayhost string smtp.de-roo.org +postfix postfix/dynamicmaps_conversion_warning boolean +postfix postfix/sqlite_warning boolean +postfix postfix/mydomain_warning boolean +postfix postfix/rfc1035_violation boolean false +postfix postfix/chattr boolean false +postfix postfix/mailbox_limit string 0 +postfix postfix/not_configured error +postfix postfix/destinations string $myhostname, $myhostname.de-roo.org, localhost.de-roo.org, localhost +postfix postfix/kernel_version_warning boolean +postfix postfix/protocols select all +postfix postfix/main_mailer_type select Satellite system +postfix postfix/mynetworks string 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 +postfix postfix/retry_upgrade_warning boolean +postfix postfix/recipient_delim string + +postfix postfix/bad_recipient_delimiter error +postfix postfix/mailname string $myhostname.de-roo.org +postfix postfix/relay_restrictions_warning boolean +postfix postfix/newaliases boolean false +postfix postfix/lmtp_retired_warning boolean true +postfix postfix/procmail boolean false + +d-i preseed/late_command string \ + mkdir -p -m 700 /target/root/.ssh; \ + echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgygLN0NcKKmKDIgYeBxkjxOvf8j+eXA2NxdSKNAr4P885DQfBqCdfvGRCFyPkEyJg2oQ2xi/T1tHfg75Yu9Z8uJMJl+grHjGPDiP/xn+imZrP0Yl/ZP3H+0m3vOcR2+lFPIZxztRl2J93P/MOgvp0h9Fl6DfdhlR91dCtout3cQLQsqrlwVc4iFklCGuPdu/nokJiAUynAQSbjQTjmAY+kRimddyNwx/fCe7KpmI6jqPufKL7Vj5THm6MU0oz1EhPkQrkm3zK/AJRX9XuczXjbdipeNrr8DnRPnzctRLaqWrTsmZpVMQiGMeyD6jiPmNomLfVjWgz8UplSKmWDiSbw== thomas@de-roo.org" >> /target/root/.ssh/authorized_keys; \ + echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBTtDrD2R3+7A6tBh45nwFN89yc7uAn/crgEma818KGghcZOsFvS63+exYQzUQF11OvOYO4OcrbwbYKrx7MnBSFIQSZJ3q3YZefIp6EkO53VnNIA3ZJvo7tBMiGPMalY3IunWNwJJqqirqqlo74pvLSrlir8ZvMuHwa7izatDuKbhGQ5xoU9D43+ZPS9qtNUtnb1+imUipkgaDWBrJClBU/Ff/aig2lNMsaUwz/s0KZDRo3Z/ReYuJDnDDjqccLlm1vRN8Thb6AT7Go4xYb+bbbQV6mETEzpTtHpkPY7XlhCGy+GuxB3jMY/3d85OYuVbMtQ1BemJLpYca13Q7LfU3 thomas@xynix.de-roo.org" >> /target/root/.ssh/authorized_keys; \ + in-target chown --recursive root:root /root/.ssh; \ + in-target chmod 0644 /root/.ssh/authorized_keys; \ + echo deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware > /target/etc/apt/sources.list; \ + echo deb-src http://deb.debian.org/debian trixie main contrib non-free non-free-firmware >> /target/etc/apt/sources.list; \ + echo deb http://deb.debian.org/debian-security/ trixie-security main contrib non-free non-free-firmware >> /target/etc/apt/sources.list; \ + echo deb-src http://deb.debian.org/debian-security/ trixie-security main contrib non-free non-free-firmware>> /target/etc/apt/sources.list; \ + echo deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware>> /target/etc/apt/sources.list; \ + echo deb-src http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware>> /target/etc/apt/sources.list; \ + in-target apt-get update; \ + in-target apt-get dist-upgrade -y; \ + in-target apt-get autoremove; + +d-i grub-installer/only_debian boolean true +d-i grub-installer/with_other_os boolean true +d-i grub-installer/bootdev string default