cloud-init configuration not working, machine won't boot

akulbe

Member
Jan 1, 2023
48
4
13
Portland, OR
1721874053648.png

So I've attempted configuring a new VM with a cloud-init drive, and just using the basic options in the UI for the cloud-init config (user, pass, DNS, SSH key, upgrade packages, IP info).

I'm using an Ubuntu 24.04 cloud image. I've tried changing the boot order. Nothing works. I'm officially stumped.

pve2:~# pveversion
pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.8-2-pve)
 
I'm using an Ubuntu 24.04 cloud image. I've tried changing the boot order. Nothing works. I'm officially stumped.
The question is - how did you create the bootable disk, if at all? Whether cloudinit is used or not, the image should just boot. Cloudinit provides post-boot customization.

Perhaps you can elaborate on :
the exact image you used
your VM configuration (qm config [id])
how did you convert the Cloud image to a PVE disk
your storage pool configuration (cat /etc/pve/storage.cfg)

A random guess is that you did not set the bootable disk properly in your configuration. Or you did not attach the disk to a controller. Or you did not import the image properly.

Best


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited: