Ubuntu 24.04 headless USB autoinstall failing (Ventoy + UEFI) #server #systeminstallation #2404 #autoinstall #subiquity

https://askubuntu.com/q/1564458/612

Ubuntu 24.04 headless USB autoinstall failing (Ventoy + UEFI)

Headless Ubuntu Server 24.04 autoinstall via USB (UEFI + Ventoy) I’m trying to create a USB drive that can install Ubuntu Server 24.04 on multiple bare-metal nodes in a fully headless way. Expected

Ask Ubuntu

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.

#libvirt

#changelog FileGator has been added to our marketplace #autoinstall #phphttps://changelog.alwaysdata.com/477/detail/
#changelog Rocket has been added to our marketplace #autoinstall #rusthttps://changelog.alwaysdata.com/476/detail/
#changelog Meilisearch has been added to our marketplace #autoinstall #rusthttps://changelog.alwaysdata.com/475/detail/

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.

#ubuntu #cloudinit #cloud_init #autoinstall

#changelog Davis has been added to our marketplace #autoinstall #phphttps://changelog.alwaysdata.com/470/detail/
#changelog PocketBase has been added to our marketplace #autoinstallhttps://changelog.alwaysdata.com/469/detail/
#changelog Radicale has been added to our marketplace #autoinstallhttps://changelog.alwaysdata.com/463/detail/
#changelog Dolibarr has been added to our marketplace #autoinstallhttps://changelog.alwaysdata.com/462/detail/