######################### # Keyboard and TimeZone # ######################### d-i keyboard-configuration/xkb-keymap select fr(latin9) d-i debian-installer/locale string fr_FR d-i time/zone string Africa/Algiers d-i clock-setup/ntp boolean true d-i clock-setup/utc boolean true ################### # Hardware detect # ################### d-i hw-detect/load_firmware boolean true ################# # User creation # ################# d-i passwd/root-login boolean false d-i passwd/user-fullname string dino d-i passwd/username string dino d-i passwd/user-password-again password dingo d-i passwd/user-password password dingo ################################# # Network and hostname settings # ################################# d-i netcfg/get_hostname string dalton d-i netcfg/hostname string dalton d-i netcfg/choose_interface select auto d-i netcfg/get_domain string d-i netcfg/link_wait_timeout string 5 d-i netcfg/wireless_wep string ######################### # Partitionning section # ######################### d-i partman-auto/method string regular d-i partman-auto/choose_recipe select atomic d-i partman-auto/disk string /dev/sda d-i partman/mount_style select uuid d-i partman/choose_partition select finish d-i partman-partitioning/confirm_write_new_label boolean true d-i partman-lvm/device_remove_lvm boolean true d-i partman-md/confirm boolean true d-i partman-md/device_remove_md boolean true d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true ####################### # Apt mirror settings # ####################### apt-mirror-setup apt-setup/no_mirror boolean true d-i mirror/country string manual d-i mirror/http/directory string /debian d-i mirror/http/hostname string deb.debian.org d-i mirror/http/proxy string d-i mirror/protocol string http d-i mirror/suite string stretch d-i mirror/udeb/suite string stretch d-i apt-setup/contrib boolean true d-i apt-setup/non-free boolean true d-i apt-setup/security_host string security.debian.org d-i apt-setup/services-select multiselect security, updates d-i apt-setup/use_mirror boolean false d-i base-installer/install-recommends boolean true d-i debian-installer/allow_unauthenticated boolean true ############################ # Do not ask about more CD # ############################ apt-cdrom-setup apt-setup/cdrom/set-double boolean false apt-cdrom-setup apt-setup/cdrom/set-first boolean false apt-cdrom-setup apt-setup/cdrom/set-next boolean false ######################### # No popularity contest # ######################### popularity-contest popularity-contest/participate boolean false ####################### # Packages to install # ####################### tasksel tasksel/first multiselect standard d-i pkgsel/include string openssh-server d-i pkgsel/upgrade select none ################ # Grub install # ################ d-i grub-installer/bootdev string default d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true ################# # Late commands # ################# d-i preseed/late_command string \ in-target mkdir /home/dino/.ssh; \ cp /authorized_keys /target/home/dino/.ssh/; \ in-target chown -R dino: /home/dino/.ssh; \ in-target chmod 700 /home/dino/.ssh; \ in-target chmod 600 /home/dino/.ssh/authorized_keys; \ true; ############ # Good Bye # ############ d-i finish-install/reboot_in_progress note