Ubuntu 24.04 headless USB autoinstall failing (Ventoy + UEFI) #server #systeminstallation #2404 #autoinstall #subiquity
Ubuntu 24.04 headless USB autoinstall failing (Ventoy + UEFI) #server #systeminstallation #2404 #autoinstall #subiquity
Just learned that you can pass the pci bus address and slot parameters to the #network paramters of #virt-install and thus get stable enp network device names in the VM for use with e.g. #ubuntu #autoinstall.yaml files.
For example:--network network="testnet",model=virtio,address.type=pci,address.bus=0x02,address.slot=0x00
will be enp2s0 in the VM.
Neat.
I seem to have hit some kind of weird bug with Ubuntu's autoinstall.yaml and Ubuntu Server 24.04. It refuses to create the user for identity:. I have to then define a legacy cloud-init user-data: hash under autoinstall:, except it refuses the set the password and instead leaves the user locked with a ! in /etc/shadow. I've tried lock-passwd: false, lock_passwd: false, and lock_passwd: False to no avail.