Is there a way to pass autoinstall to qemu machine?

p-thor

Member
Jun 21, 2022
5
1
8
We use exclusively Ubuntu VMs and need to use the default server image.
We have a user-data yaml file which is passed to the vm with cicustom and works.

The only issue is that during the install process there is a popup that autoinstall should be passed to the kernel parameter to skip the question to continue.

I tried with args to just append it but the kernel en initrd are required then. Perhaps there is a way to point to the local files inside the VM as an extra argument.

PXE is not an option as we dont use DHCP.

So is there any way to get autoinstall to continue without any manual interference?

Version:
pve-manager/7.4-17/513c62be (running kernel: 5.15.143-1-pve)
Ubuntu 22.04.4 / 24.04
 
One solution seems to do this: https://github.com/covertsh/ubuntu-autoinstall-generator/blob/main/README.md


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
I tried it but it seems to be abandoned. Fails on current versions. Last change was 3 years ago. But also I would prefer not to modify the default install media. Having multiple isos could perhaps be a way. A boot disk which points to the second iso to install data.
 
  • Like
Reactions: bbgeek17