Skip to content

Instantly share code, notes, and snippets.

@jameskyle
Created September 27, 2013 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameskyle/6722742 to your computer and use it in GitHub Desktop.
Save jameskyle/6722742 to your computer and use it in GitHub Desktop.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string ops1.pao10.tfoundry.com
d-i netcfg/get_domain string razorlab.local
d-i netcfg/no_default_route boolean true
d-i user-setup/allow-password-weak boolean true
#Disable some questions
d-i user-setup/encrypt-home boolean false
d-i pkgsel/install-language-support boolean false
# Mirror Settings
d-i mirror/suite string precise
d-i mirror/protocol string http
#d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true
# Kernel Select
d-i base-installer/kernel/override-image string linux-generic-lts-quantal
# PKGSel config
d-i pkgsel/update-policy select unattended-upgrades
tasksel tasksel/first multiselect standard, ubuntu-server
d-i pkgsel/include string curl openssh-server
# LVM BEGIN Configuration
d-i partman-auto-lvm/guided_size string max
d-i partman-auto-lvm/new_vg_name string vg_main
d-i partman-auto/choose_recipe select boot-root
d-i partman-auto/disk string /dev/sda
d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/method string lvm
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/confirm boolean true
d-i partman-md/device_remove_md boolean true
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/default_filesystem string ext4
d-i partman-auto/expert_recipe string \
boot-root :: \
1 1 1 free \
$iflabel{ gpt } \
method{ biosgrub } \
. \
51200 30 51200 swap \
$defaultignore{ } \
$lvmok{ } \
lv_name{ lv_swap } \
method{ swap } \
format{ } \
. \
40 50 100 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
230000 40 256000 ext4 \
$defaultignore{ } \
$lvmok{ } \
lv_name{ lv_root } \
method{ format } \
format{ } \
use_filesystem{ } \
filesystem{ ext4 } \
mountpoint{ / } \
.
# LVM END
## Default user, we can get away with a recipe to change this
d-i passwd/user-fullname string vagrant
d-i passwd/username string vagrant
d-i passwd/user-password password vagrant
d-i passwd/user-password-again password vagrant
d-i user-setup/encrypt-home boolean false
d-i user-setup/allow-password-weak boolean true
d-i apt-setup/restricted boolean true
d-i finish-install/reboot_in_progress note
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i passwd/make-user boolean true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment