Page MenuHomeGRNET

ubuntu-14.04-preseed.cfg
No OneTemporary

File Metadata

Created
Sat, Jan 17, 12:22 PM

ubuntu-14.04-preseed.cfg

### Localization
d-i debian-installer/locale string en_US
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/supported-locales multiselect en_US.UTF-8
# Keyboard selection.
d-i console-tools/archs select at
d-i console-keymaps-at/keymap select us
d-i keyboard-configuration/xkb-keymap select us
### Network configuration
d-i netcfg/choose_interface select auto
### Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
### Account setup
# Create root account
d-i passwd/root-login boolean true
d-i passwd/root-password password root
d-i passwd/root-password-again password root
d-i user-setup/allow-password-weak boolean true
# Skip creating normal user
d-i passwd/make-user boolean false
### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string GMT+0
d-i clock-setup/ntp boolean true
### Partitioning
d-i partman-auto/method string regular
# Do not create a swap partition.
# Create a single partition having at least 1000 MB and the maximum possible (-1),
# with a priority of 50, and using ext4.
d-i partman-auto/expert_recipe string singlepart :: 1000 50 -1 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
d-i partman-auto/choose_recipe select singlepart
# Disables partman warning message for not having a swap partition.
d-i partman-basicfilesystems/no_swap boolean false
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman-partitioning/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
d-i partman/mount_style select uuid
### Apt setup
d-i apt-setup/services-select multiselect security
d-i apt-setup/security_host string security.ubuntu.com
d-i apt-setup/security_path string /ubuntu
### Package selection
#tasksel tasksel/first multiselect ssh-server
tasksel tasksel/first multiselect openssh-server
d-i pkgsel/upgrade select safe-upgrade
#d-i pkgsel/include string sed openssh-server
popularity-contest popularity-contest/participate boolean false
### GRUB
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string /dev/vda
### Finishing up the installation
d-i finish-install/keep-consoles boolean true
d-i finish-install/reboot_in_progress note
# Permit root login
d-i preseed/late_command string \
in-target sed -i 's/PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config
#in-target touch /root/ko

Event Timeline