I'm trying to install 20.04 with an auto install config file like this one:
user-data file:
version: 1
identity:
hostname: hostname
username: username
password: $crypted_pass
But I want the installation process to ONLY ask for the hostname, and for everything else to be automated. I feel like this should be possible because the docs say it is almost infinitely configurable
.
I am installing with pxeboot/tftp, here is my install lines similar to the quick-start guide:
kernel installers/ubuntu/20.04/vmlinuz
initrd installers/ubuntu/20.04/initrd
append root=/dev/ram0 ramdisk_size=1500000 ip=dhcp url=http://releases.ubuntu.com/20.04/ubuntu-20.04-live-server-amd64.iso autoinstall ds=nocloud-net;s=http://myserver/preseeds/20.04/
Here are some things I've tried:
identity in interactive-sections
This asks me for the language (why?) and all of the identity fields, also, the password is not pre-seeded
version: 1
interactive-sections:
- identity
identity:
hostname: hostname
username: username
password: $crypted_pass
remove hostname
This gives parsing error because hostname is required
version: 1
interactive-sections:
- identity
identity:
username: username
password: $crypted_pass