Skip to content

Instantly share code, notes, and snippets.

@antaflos
Created June 14, 2012 16:33
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save antaflos/2931362 to your computer and use it in GitHub Desktop.
Save antaflos/2931362 to your computer and use it in GitHub Desktop.
Foreman Ubuntu 12.04 preseed provision template
d-i debian-installer/language string en
d-i debian-installer/country string AT
d-i debian-installer/locale string en_IE.UTF-8
d-i localechooser/supported-locales en_US.UTF-8, en_IE.UTF-8
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap string de
d-i keyboard-configuration/layoutcode string de
d-i keyboard-configuration/modelcode string pc105
d-i console-keymaps-at/keymap string de-latin1-nodeadkeys
d-i netcfg/choose_interface select eth0
d-i netcfg/get_hostname string <%= @host.name %>
d-i netcfg/get_domain string <%= @host.domain.name %>
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean true
d-i mirror/country string manual
d-i mirror/http/mirror select ch.archive.ubuntu.com
d-i mirror/http/hostname string ch.archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string <%= @host.params['apt_cacher_fqdn'] %>
d-i mirror/codename string <%= @host.operatingsystem.release_name %>
d-i mirror/suite string <%= @host.operatingsystem.release_name %>
d-i mirror/udeb/suite string <%= @host.operatingsystem.release_name %>
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Vienna
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string europe.pool.ntp.org
<%= @host.diskLayout %>
d-i base-installer/kernel/image string linux-server
# User settings
d-i passwd/root-password-crypted password $6$ssssssss$xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
user-setup-udeb passwd/root-login boolean true
d-i passwd passwd/make-user boolean false
user-setup-udeb passwd/make-user boolean false
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i apt-setup/backports boolean true
tasksel tasksel/force-tasks string server
d-i pkgsel/language-pack-patterns string
d-i pkgsel/install-language-support boolean false
d-i debian-installer/splash boolean false
tasksel tasksel/first multiselect standard
d-i pkgsel/include string lsb-release openssh-server chrony vim-nox acpid mercurial
d-i pkgsel/language-packs multiselect de, en
d-i pkgsel/update-policy select unattended-upgrades
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
d-i preseed/late_command string wget <%= foreman_url("finish") %> -O /target/tmp/finish.sh && in-target chmod +x /tmp/finish.sh && in-target /tmp/finish.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment