Created
July 13, 2014 00:31
-
-
Save darylrobbins/99563cbfddbae7a0ecd9 to your computer and use it in GitHub Desktop.
Ubuntu Preseed Config
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
#### Contents of the preconfiguration file (for squeeze) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
#d-i debian-installer/locale string en_US | |
# The values can also be preseeded individually for greater flexibility. | |
d-i debian-installer/language string en | |
d-i debian-installer/country string CA | |
d-i debian-installer/locale string en_US.UTF-8 | |
# Optionally specify additional locales to be generated. | |
#d-i localechooser/supported-locales en_US.UTF-8, nl_NL.UTF-8 | |
# Keyboard selection. | |
# Disable automatic (interactive) keymap detection. | |
d-i console-setup/ask_detect boolean false | |
#d-i keyboard-configuration/modelcode string pc105 | |
d-i keyboard-configuration/layoutcode string us | |
# To select a variant of the selected layout (if you leave this out, the | |
# basic form of the layout will be used): | |
#d-i keyboard-configuration/variantcode string dvorak | |
### Network configuration | |
# Disable network configuration entirely. This is useful for cdrom | |
# installations on non-networked devices where the network questions, | |
# warning and long timeouts are a nuisance. | |
#d-i netcfg/enable boolean false | |
# netcfg will choose an interface that has link if possible. This makes it | |
# skip displaying a list if there is more than one interface. | |
d-i netcfg/choose_interface select auto | |
# To pick a particular interface instead: | |
#d-i netcfg/choose_interface select eth0 | |
# If you have a slow dhcp server and the installer times out waiting for | |
# it, this might be useful. | |
#d-i netcfg/dhcp_timeout string 60 | |
# If you prefer to configure the network manually, uncomment this line and | |
# the static network configuration below. | |
d-i netcfg/disable_autoconfig boolean true | |
# If you want the preconfiguration file to work on systems both with and | |
# without a dhcp server, uncomment these lines and the static network | |
# configuration below. | |
#d-i netcfg/dhcp_failed note | |
#d-i netcfg/dhcp_options select Configure network manually | |
# Static network configuration. | |
d-i netcfg/get_nameservers string 172.20.2.1 | |
d-i netcfg/get_ipaddress string 172.20.2.10 | |
d-i netcfg/get_netmask string 255.255.0.0 | |
d-i netcfg/get_gateway string 172.20.1.1 | |
d-i netcfg/confirm_static boolean true | |
# Any hostname and domain names assigned from dhcp take precedence over | |
# values set here. However, setting the values still prevents the questions | |
# from being shown, even if values come from dhcp. | |
d-i netcfg/get_hostname string cloud | |
d-i netcfg/get_domain string home.darylrobbins.com | |
# Disable that annoying WEP key dialog. | |
d-i netcfg/wireless_wep string | |
# The wacky dhcp hostname that some ISPs use as a password of sorts. | |
#d-i netcfg/dhcp_hostname string radish | |
# If non-free firmware is needed for the network or other hardware, you can | |
# configure the installer to always try to load it, without prompting. Or | |
# change to false to disable asking. | |
#d-i hw-detect/load_firmware boolean true | |
### Network console | |
# Use the following settings if you wish to make use of the network-console | |
# component for remote installation over SSH. This only makes sense if you | |
# intend to perform the remainder of the installation manually. | |
d-i anna/choose_modules string network-console | |
d-i network-console/password password r00tme | |
d-i network-console/password-again password r00tme | |
# Use this instead if you prefer to use key-based authentication | |
#d-i network-console/authorized_keys_url http://host/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment