Skip to content

Instantly share code, notes, and snippets.

@sygibson
Created July 17, 2019 01:16
Show Gist options
  • Save sygibson/450f4529920cf86b58102267ed0ed085 to your computer and use it in GitHub Desktop.
Save sygibson/450f4529920cf86b58102267ed0ed085 to your computer and use it in GitHub Desktop.
# Rebar seed file for Debian/Ubuntu installs
# Locale and Language Settings
d-i debian-installer/locale string en_US.UTF-8
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i keyboard-configuration/xkb-keymap select us
d-i debian-installer/locale string en_US.UTF-8
d-i console-tools/archs select at
d-i console-keymaps-at/keymap select American English
d-i debian-installer/keymap string us
d-i keyboard-configuration/toggle select No toggling
# Serial Console
d-i debian-installer/serial-console boolean true
d-i finish-install/keep-consoles boolean true
# Network Configuration
d-i netcfg/choose_interface select auto
d-i netcfg/dhcp_timeout string 120
d-i netcfg/get_hostname string esxi
d-i mirror/country string manual
d-i mirror/http/proxy string
# Clock
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string 0.us.pool.ntp.org
d-i time/zone string UTC
# Partitioner Label Default (GPT)
d-i partman/choose_label string gpt
d-i partman-basicfilesystems/choose_label string gpt
d-i partman-partitioning/choose_label string gpt
d-i partman/default_label string gpt
d-i partman-basicfilesystems/default_label string gpt
d-i partman-partitioning/default_label string gpt
# Partitioner Prompt Confirmations
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-md/confirm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-md/confirm_nochanges boolean true
d-i partman-md/confirm_nooverwrite boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-lvm/confirm_nochanges boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-basicfilesystems/no_swap boolean false
#Partitioning Scheme
d-i partman-auto/disk string /dev/sda
d-i grub-installer/choose_bootdev select /dev/sda
d-i grub-installer/bootdev string /dev/sda
d-i partman-auto/method string lvm
d-i partman-auto-lvm/guided_size string max
d-i partman-auto-lvm/new_vg_name string esxi
d-i partman-auto/choose_recipe select atomic
d-i grub-installer/only_debian 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
# Default User Setup
d-i passwd/make-user boolean true
d-i passwd/user-uid string 1000
d-i passwd/user-fullname string Rocket Skates
d-i passwd/username string rocketskates
d-i passwd/user-password-crypted password $6$drprocksdrprocks$upAIK9ynEEdFmaxJ5j0QRvwmIu2ruJa1A1XB7GZjrnYYXXyNr4qF9FttxMda2j.cmh.TSiLgn4B/7z0iSHkDC1
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
d-i debian-installer/allow_unauthenticated string true
tasksel tasksel/first multiselect standard, server
d-i pkgsel/include string openssh-server curl efibootmgr
d-i pkgsel/update-policy select none
d-i debian-installer/add-kernel-opts string console=ttyS0,115200 console=tty0
# Completion questions
d-i cdrom-detect/eject boolean false
d-i finish-install/reboot_in_progress note
xserver-xorg xserver-xorg/autodetect_monitor boolean true
xserver-xorg xserver-xorg/config/monitor/selection-method select medium
xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Hz
d-i preseed/late_command string wget http://147.75.65.75:8091/machines/53f8777f-d3cf-477f-880e-6b937c536784/post-install.sh -O /target/net-post-install.sh ; chmod +x /target/net-post-install.sh ; /target/net-post-install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment