- combine the two, and add from http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg
- update from https://github.com/serainville/packer_templates/blob/master/Ubuntu-18.04/http/preseed.cfg
- from https://github.com/deimosfr/packer-debian/blob/master/http/preseed_stretch.cfg
Last active
May 29, 2020 07:51
-
-
Save suntong/45323c12d2b22a9e68abca87d440e420 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg | |
choose-mirror-bin mirror/http/proxy string | |
d-i apt-setup/use_mirror boolean true | |
# Packages, Mirrors, Image | |
d-i base-installer/kernel/override-image string linux-server | |
d-i base-installer/kernel/override-image string linux-image-amd64 | |
d-i apt-setup/restricted boolean true | |
d-i apt-setup/universe boolean true | |
d-i pkgsel/install-language-support boolean false | |
# Clock | |
@@VBOX_COND_IS_RTC_USING_UTC@@ | |
d-i clock-setup/utc boolean true | |
d-i clock-setup/utc-auto boolean true | |
@@VBOX_COND_END@@ | |
@@VBOX_COND_IS_NOT_RTC_USING_UTC@@ | |
d-i clock-setup/utc-auto boolean false | |
d-i clock-setup/utc boolean false | |
@@VBOX_COND_END@@ | |
d-i time/zone string UTC | |
d-i time/zone string @@VBOX_INSERT_TIME_ZONE_UX@@ | |
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 grub-installer/bootdev string /dev/sda | |
d-i partman-auto/disk string /dev/sda | |
d-i partman-auto-lvm/guided_size string max | |
d-i partman-auto/choose_recipe select atomic | |
d-i partman-auto/method string lvm | |
d-i partman-lvm/confirm 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/choose_partition select finish | |
d-i partman/confirm boolean true | |
d-i partman/confirm_nooverwrite boolean true | |
d-i partman/confirm_write_new_label boolean true | |
d-i pkgsel/include string openssh-server cryptsetup build-essential libssl-dev libreadline-dev zlib1g-dev linux-source dkms nfs-common | |
d-i pkgsel/install-language-support boolean false | |
d-i pkgsel/update-policy select none | |
d-i pkgsel/upgrade select full-upgrade | |
tasksel tasksel/first multiselect standard, ubuntu-server | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/layoutcode string us | |
d-i keyboard-configuration/modelcode string pc105 | |
d-i debian-installer/locale string en_US | |
# Users | |
d-i passwd/user-fullname string @@VBOX_INSERT_USER_FULL_NAME@@ | |
d-i passwd/username string @@VBOX_INSERT_USER_LOGIN@@ | |
d-i passwd/user-password password @@VBOX_INSERT_USER_PASSWORD@@ | |
d-i passwd/user-password-again password @@VBOX_INSERT_USER_PASSWORD@@ | |
d-i passwd/root-login boolean true | |
d-i passwd/root-password password @@VBOX_INSERT_ROOT_PASSWORD@@ | |
d-i passwd/root-password-again password @@VBOX_INSERT_ROOT_PASSWORD@@ | |
d-i user-setup/allow-password-weak boolean true | |
d-i passwd/user-default-groups string admin sudo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment