Created
June 26, 2012 18:59
-
-
Save GregSutcliffe/2998021 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple keyboard | |
d-i debian-installer/locale string en_US | |
d-i console-tools/archs skip-config | |
# Network configuration | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string <%= @host.name %> | |
d-i netcfg/get_domain string <%= @host.domain.name %> | |
d-i netcfg/wireless_wep string | |
# Mirror | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string foreman:3142 | |
d-i mirror/http/directory string /debian | |
d-i mirror/http/proxy string | |
d-i mirror/suite string <%= @host.operatingsystem.release_name %> | |
d-i mirror/udeb/suite string <%= @host.operatingsystem.release_name %> | |
# Time | |
d-i clock-setup/utc boolean true | |
d-i time/zone string Europe/London | |
d-i clock-setup/ntp boolean true | |
d-i clock-setup/ntp-server string pool.ntp.org | |
# Disk | |
<%= @host.diskLayout %> | |
# User settings | |
d-i passwd/root-login boolean true | |
d-i passwd/make-user boolean false | |
d-i passwd/root-password-crypted password <%= root_pass %> | |
# Apt | |
d-i apt-setup/non-free boolean true | |
d-i apt-setup/contrib boolean true | |
d-i apt-setup/services-select multiselect security | |
d-i apt-setup/security_host string security.debian.org | |
# Foreman repo | |
d-i apt-setup/local0/repository string \ | |
http://deb.theforeman.org/ nightly main | |
d-i apt-setup/local0/comment string Foreman nightly packages | |
d-i apt-setup/local0/key string http://deb.theforeman.org/foreman.asc | |
# Puppetlabs repo | |
d-i apt-setup/local1/repository string \ | |
http://apt.puppetlabs.com/ <%= @host.operatingsystem.release_name %> main | |
d-i apt-setup/local1/comment string Puppetlabs packages | |
d-i apt-setup/local1/key string http://apt.puppetlabs.com/pubkey.gpg | |
tasksel tasksel/first multiselect minimal | |
# Install some base packages | |
d-i pkgsel/include string puppet lsb-release openssh-server | |
d-i pkgsel/update-policy select none | |
popularity-contest popularity-contest/participate boolean false | |
# Boot loader settings | |
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