d-i keyboard-configuration/layoutcode string us d-i keyboard-configuration/modelcode string pc105 d-i console-setup/ask_detect boolean false # Base system installation d-i base-installer/kernel/override-image string linux-server # Finishing up the installation d-i finish-install/reboot_in_progress note # Boot loader installation d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true # Partitioning 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 # Mirror settings choose-mirror-bin mirror/http/proxy string d-i mirror/country string manual d-i mirror/http/directory string /ubuntu / d-i mirror/http/hostname string archive. UTF-8 # Clock and time zone setup d-i clock-setup/utc boolean true d-i clock-setup/utc-auto boolean true d-i time/zone string UTC # Keyboard selection. # Localization d-i debian-installer/locale string en_US.
Packer config to build a VMWare virtual machine from Ubuntu 20.04 live server ISO Since packer builds it locally, data source is NoCloud in our case and the config files will served to the installer over http. The list of supported cloud datasources can be found in cloudinit docs. Typically user config is stored in user-data and cloud specific config in meta-data file. There are multiple ways to provide configuration data for cloud-init. Values are taken from the config file if set, else default values are used.
The autoinstall config is provided via cloud-init configuration. It is the server counterpart of ubiquity installer used by desktop live CD installation.Īutoinstallation lets you answer all those configuration questions ahead of time with autoinstall config and lets the installation process run without any external interaction.
Subiquity is the Ubuntu server’s new automated installer, which was introduced in 18.04.