Skip to content

Instantly share code, notes, and snippets.

@narkisr
Created September 30, 2011 23:23
Show Gist options
  • Save narkisr/1255305 to your computer and use it in GitHub Desktop.
Save narkisr/1255305 to your computer and use it in GitHub Desktop.
An Ubuntu desktop preseed file
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/splash boolean false
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i console-setup/variantcode string
# network
d-i netcfg/get_nameservers string
d-i netcfg/get_ipaddress string
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string
d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string passed-as-kernel-parameter-in-cobbler
# mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string mirror-url
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
d-i mirror/udeb/components multiselect main, restricted
# partitioning
d-i partman-auto/method string regular
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 partitioning and write changes to disk
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/default_filesystem string ext4
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.ubuntu.com
d-i clock-setup/utc boolean true
d-i base-installer/kernel/image string linux-generic
d-i passwd/root-login boolean false
d-i passwd/make-user boolean true
d-i passwd/user-fullname string narkisr
d-i passwd/username string narkisr
d-i passwd/user-password-crypted password crypt-string
d-i passwd/user-uid string
d-i user-setup/allow-password-weak boolean false
d-i user-setup/encrypt-home boolean false
d-i passwd/user-default-groups string adm cdrom dialout lpadmin plugdev sambashare
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
tasksel tasksel/first multiselect ubuntu-desktop
d-i pkgsel/upgrade select safe-upgrade
d-i pkgsel/language-packs multiselect
d-i pkgsel/update-policy select none
d-i pkgsel/updatedb boolean true
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 preseed/late_command string \
in-target wget http://host/scripts/script.sh -O /tmp/script.sh; \
in-target /bin/bash /tmp/script.sh
d-i cdrom-detect/eject boolean true
d-i debian-installer/exit/halt boolean false
d-i debian-installer/exit/poweroff boolean false
d-i pkgsel/include string byobu vim openssh-server puppet
byobu byobu/launch-by-default boolean true
@narkisr
Copy link
Author

narkisr commented Oct 24, 2011

Hey, Im using cobbler with the following kernel options:

priority=critical locale=en_US

This gist is from this post:

http://narkisr.com/blog/2011/3503f63073b5263a911c92f384000b3f

You might find it useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment