Is there a way to pass autoinstall to qemu machine?

p-thor

New Member
Jun 21, 2022
5
1
3
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!