Created
October 15, 2013 18:35
-
-
Save anonymous/6996427 to your computer and use it in GitHub Desktop.
preseed file
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
#kind: provision | |
#name: Community Preseed | |
#oses: | |
#- Debian 6.0 | |
#- Debian 7.0 | |
#- Ubuntu 10.04 | |
#- Ubuntu 12.04 | |
#- Ubuntu 13.04 | |
# Locale, country and keyboard settings | |
d-i debian-installer/locale string en_US | |
d-i console-setup/ask_detect boolean false | |
d-i console-setup/modelcode string pc105 | |
d-i console-setup/variant USA | |
d-i console-setup/layout USA | |
d-i console-setup/layoutcode string us | |
# Network configuration | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string hp3.mydomain.org | |
d-i netcfg/get_domain string mydomain.org | |
d-i netcfg/wireless_wep string | |
d-i hw-detect/load_firmware boolean true | |
# Mirror settings | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string archive.ubuntu.com:80 | |
d-i mirror/http/directory string /ubuntu/ | |
d-i mirror/http/proxy string http://172.16.0.1:3181/ | |
d-i mirror/codename string raring | |
d-i mirror/suite string raring | |
d-i mirror/udeb/suite string raring | |
# Time settings | |
d-i clock-setup/utc boolean true | |
d-i time/zone string America/New_York | |
# NTP | |
d-i clock-setup/ntp boolean true | |
d-i clock-setup/ntp-server string tic.mydomain.org | |
# Set alignment for automatic partitioning | |
# Choices: cylinder, minimal, optimal | |
#d-i partman/alignment select cylinder | |
#kind: ptable | |
#name: Community Preseed Disklayout | |
#oses: | |
#- Debian 6.0 | |
#- Debian 7.0 | |
#- Ubuntu 10.04 | |
#- Ubuntu 12.04 | |
#- Ubuntu 13.04 | |
d-i partman-auto/disk string /dev/sda /dev/vda | |
### Partitioning | |
# The presently available methods are: "regular", "lvm" and "crypto" | |
d-i partman-auto/method string regular | |
# If one of the disks that are going to be automatically partitioned | |
# contains an old LVM configuration, the user will normally receive a | |
# warning. This can be preseeded away... | |
d-i partman-lvm/device_remove_lvm boolean true | |
# The same applies to pre-existing software RAID array: | |
d-i partman-md/device_remove_md boolean true | |
# And the same goes for the confirmation to write the lvm partitions. | |
d-i partman-lvm/confirm boolean true | |
d-i partman-lvm/confirm_nooverwrite boolean true | |
# You can choose one of the three predefined partitioning recipes: | |
# - atomic: all files in one partition | |
# - home: separate /home partition | |
# - multi: separate /home, /usr, /var, and /tmp partitions | |
d-i partman-auto/choose_recipe select atomic | |
# If you just want to change the default filesystem from ext3 to something | |
# else, you can do that without providing a full recipe. | |
# This makes partman automatically partition without confirmation, provided | |
# that you told it what to do using one of the methods above. | |
d-i partman/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 | |
# Install different kernel | |
#d-i base-installer/kernel/image string linux-server | |
# User settings | |
d-i passwd/root-password-crypted password $1$X$REDACTED | |
user-setup-udeb passwd/root-login boolean true | |
d-i passwd passwd/make-user boolean false | |
user-setup-udeb passwd/make-user boolean false | |
# Install minimal task set (see tasksel --task-packages minimal) | |
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 unattended-upgrades | |
popularity-contest popularity-contest/participate boolean false | |
# Boot loader settings | |
#grub-pc grub-pc/hidden_timeout boolean false | |
#grub-pc grub-pc/timeout string 10 | |
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 http://george.mydomain.org/unattended/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