From e596091daf51443248a0cb427832be62552eaf27 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 28 Oct 2013 19:50:41 +0100 Subject: Reorganization. Move preseed-related stuff in ./preseed/, and vm-related stuff in ./virtualenv/. --- preseed.cfg | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 preseed.cfg (limited to 'preseed.cfg') diff --git a/preseed.cfg b/preseed.cfg new file mode 100644 index 0000000..7856628 --- /dev/null +++ b/preseed.cfg @@ -0,0 +1,57 @@ +# Preseed file +# +# Copyright 2013 Guilhem Moulin +# +# Licensed under the GNU GPL version 3 or higher. + +# Locales +d-i debian-installer/locale string en_US.UTF-8 +d-i localechooser/supported-locales multiselect sv_SE.UTF-8 +d-i keymap skip-config + +# Debian archive mirror hostname (installer only): +d-i mirror/http/hostname string ftp.se.debian.org + +# Assume the clock is UTC. Always use NTP. +d-i clock-setup/utc boolean true +d-i clock-setup/ntp boolean true +d-i clock-setup/ntp-server string 0.se.pool.ntp.org +d-i time/zone string Europe/Stockholm + +# Network +d-i netcfg/choose_interface select auto +d-i netcfg/hostname string eilift +d-i netcfg/get_domain string guilhem.org +#d-i netcfg/disable_autoconfig boolean true +#d-i netcfg/get_ipaddress string 192.168.10.100 +#d-i netcfg/get_netmask string 255.255.255.0 +#d-i netcfg/get_gateway string 192.168.10.2 +#d-i netcfg/get_nameservers string 192.168.10.1 +#d-i netcfg/confirm_static boolean true + +# Users +adduser adduser/homedir-permission boolean false +d-i passwd/root-login boolean false +d-i passwd/shadow boolean true +d-i passwd/user-fullname string Guilhem Moulin +d-i passwd/username string guilhem +# TODO: should be generated by preseed.sh: echo ... | mkpasswd -s -H SHA-512 +d-i passwd/user-password-crypted password $6$QjLeZdW1O$9VymVDc5q6NctEylAqObvmP4S7FXk1ckCPaHua0JaiFSaTeTKoWxaP7bQoUWvzCPDY23Xqthg87QDBbaCY9BP0 +d-i passwd/user-default-groups string ssh + +# System +popularity-contest popularity-contest/participate boolean true +d-i base-installer/kernel/image string linux-image-amd64 +d-i base-installer/kernel/linux/initramfs-generators string initramfs-tools +# A subset of 'standard' is interesting: tasksel --task-packages standard +tasksel tasksel/first string +d-i pkgsel/include string curl bind9-host git heirloom-mailx python-apt \ + postfix vim-nox emacs23-nox +d-i pkgsel/upgrade select safe-upgrade + +d-i preseed/early_command string anna-install fripost-partman fripost-postinst +d-i preseed/late_command string /bin/in-target /usr/bin/update-alternatives --set editor /usr/bin/vim.nox +d-i fripost/partition-script string /cdrom/include/partition.sh + +d-i fripost/wipe-device string none +d-i fripost/initrd-ssh-port string 2222 -- cgit v1.2.3