Skip to content

Instantly share code, notes, and snippets.

@Lupul
Created June 9, 2014 22:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lupul/0accbdc94b8a5ce674d7 to your computer and use it in GitHub Desktop.
Save Lupul/0accbdc94b8a5ce674d7 to your computer and use it in GitHub Desktop.
# Locale, country and keyboard settings
d-i debian-installer/framebuffer boolean false
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-setup/modelcode string pc105
d-i console-setup/variant USA
d-i console-setup/layout USA
d-i console-setup/layoutcode string us
# Network configuration
d-i netcfg/choose_interface select auto
d-i hw-detect/load_firmware boolean true
# Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com:80
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
d-i mirror/codename string trusty
d-i mirror/suite string trusty
d-i mirror/udeb/suite string trusty
# Time settings
d-i clock-setup/utc boolean true
#-- d-i partman-auto/disk string
d-i partman-iscsi/login/address string XXX
d-i partman-iscsi/login/targets multiselect XXX
d-i partman-auto/disk string /dev/sda /dev/vda
### Partitioning
d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto/expert_recipe string \
root :: \
2000 10000 1000000000 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
# added L
d-i partman-basicfilesystems/no_swap boolean false
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
# User settings
d-i passwd/root-password-crypted password XXX
user-setup-udeb passwd/root-login boolean true
d-i passwd passwd/make-user boolean false
user-setup-udeb passwd/make-user boolean false
tasksel tasksel/first multiselect minimal
# !!!!! Do not upgrade packages during install !!!!!
###########################################################
d-i pkgsel/upgrade select none
###########################################################
d-i pkgsel/update-policy select none
# Install some base packages
d-i pkgsel/include string lsb-release openssh-server
popularity-contest popularity-contest/participate boolean false
# Boot loader settings
grub-pc grub-pc/hidden_timeout boolean false
grub-pc grub-pc/timeout string 5
grub-pc grub2/linux_cmdline_default string BOOTIF=00:00:00:00:00:00 --verbose 2
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment