Skip to content

Instantly share code, notes, and snippets.

@rickmark
Created February 23, 2012 20:33
Show Gist options
  • Save rickmark/1894908 to your computer and use it in GitHub Desktop.
Save rickmark/1894908 to your computer and use it in GitHub Desktop.
Base Ubuntu Configuration
# Standard Server Setup File
# Copyright 2012 Richard Mark - All Rights Reserved
# Set the locale to English - United States - UTF 8
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/splash boolean false
# Use automatic configuration of the network settings
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
d-i hw-detect/load_firmware boolean true
# Set the keyboard layout to English
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
# Set the time and time zone to US - Pacific
d-i clock-setup/utc boolean true
d-i time/zone string America/Los_Angeles
# Automatically setup LVM partition with entire disk
d-i partman-auto/method string lvm
d-i partman-auto/choose_recipe select atomic
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
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
d-i partman/default_filesystem string ext4
# Use the default network time protocol server
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.ubuntu.com
# Use the linux-server variant of the kernal
d-i base-installer/kernel/image string linux-server
# Configure default user accounts
d-i passwd/root-login boolean false
d-i passwd/make-user boolean true
d-i passwd/user-fullname string Richard Mark
d-i passwd/username string rickmark
d-i passwd/user-password-crypted password $6$7sk5lsm2Xj/6oewp$3e20TalN14VknUhR5K9O3PG7KuF32nAr3ysyLdEDa9hm9tKS5.VPRz5YYDZlPDO7dGyzPs7sS2H3EwdoK4nQw0
d-i passwd/user-uid string
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
d-i passwd/user-default-groups string adm cdrom dialout lpadmin plugdev sambashare
# Automatically apply security updates
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
d-i debian-installer/allow_unauthenticated string false
d-i pkgsel/upgrade select safe-upgrade
d-i pkgsel/language-packs multiselect
d-i pkgsel/update-policy select unattended-upgrades
d-i pkgsel/updatedb boolean true
# Select base packages
d-i apt-setup/universe boolean true
d-i pkgsel/include string vim openssh-server ruby1.9.1-full build-essential
# Settings affecting the install of the bootloader and finalize install
d-i grub-installer/skip boolean false
d-i lilo-installer/skip boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/keep-consoles boolean false
d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean true
d-i debian-installer/exit/halt boolean false
d-i debian-installer/exit/poweroff boolean false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment