Skip to content

Instantly share code, notes, and snippets.

/preseed.seed Secret

Created November 13, 2017 23:02
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 anonymous/0973564df935ce9f60ade0cbc48269d1 to your computer and use it in GitHub Desktop.
Save anonymous/0973564df935ce9f60ade0cbc48269d1 to your computer and use it in GitHub Desktop.
### Localization
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
### Network configuration
d-i netcfg/choose_interface auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
### Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string mobile.mirror.com
d-i mirror/http/directory string /
#d-i mirror/http/hostname string archive.ubuntu.com
#d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string
### Clock and time zone setup
d-i clock-setup/utc boolean true
d-i time/zone string US/Pacific
d-i clock-setup/ntp boolean true
### Preseed
d-i auto-install/enable boolean true
d-i preseed/interactive boolean false
d-i debconf/priority select high
### Disable root
d-i passwd/root-login boolean false
### Create tools account
d-i passwd/user-fullname string "Administrator Account"
d-i passwd/username string administratorsdgfe435r345SDFSDF34532q45mleGipV.PvNNPy.
### Partitioning
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto-lvm/new_vg_name string vg00
d-i partman-lvm/confirm boolean true
d-i partman/alignment string "optimal"
d-i partman-auto-lvm/guided_size string max
d-i partman-auto/expert_recipe string \
boot-root :: \
128 100 256 ext3 \
$primary{ } \
$bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
1024 100 200% linux-swap \
$lvmok{ } \
lv_name{ swap } \
method{ swap } format{ } \
. \
4096 100 1000000000 ext4 \
$lvmok{ } \
lv_name{ root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
d-i partman-lvm/confirm_nooverwrite 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 user-setup/encrypt-home boolean false
### Grub
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
### Package selection
tasksel tasksel/first multiselect standard
d-i pkgsel/include string openssh-server gcc g++ make
### Bootloader
d-i partman-partitioning/no_bootable_gpt_biosgrub boolean false
# Updates
d-i pkgsel/update-policy select none
d-i apt-setup/security-updates boolean false
d-i apt-setup/security_host string
### Finishing up the installation
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