Hello,
I try to use a fresh created cloud vm created via distrobuilder.
Distrobuilder is a tool who allows me to create LXC image and qcow2 images.
I use this cloud qcow2 : repo.
And to create it in my cluster :
Cloud-init does not start or extremely randomly.
I need to recreate the cloudinit disk and it could work.
The boot is super slow and is stuck in "Starting serial...".
After a while, I used to have just after "Loading intiial ramdisk" : "Gave up waiting for suspend/resume device".
And then, the normal boot and the prompt without changes.
I don't know if I miss something or if the built image needs something else (since I built in my intranet) ?
I try to use a fresh created cloud vm created via distrobuilder.
Distrobuilder is a tool who allows me to create LXC image and qcow2 images.
I use this cloud qcow2 : repo.
And to create it in my cluster :
Bash:
qm create 106 --cores 4 --name "debian-bullseye-cloud-template" --memory 4096 --net0 virtio,bridge=vmbr0
qm importdisk 106 /tmp/build/debian-cloud/disk.qcow2 STORE
qm set 106 --bios ovmf -efidisk0 STORE:1,format=raw,efitype=4m,pre-enrolled-keys=1
qm set 106 --scsihw virtio-scsi-pci --scsi0 STORE:vm-106-disk-0
qm set 106 --serial0 socket --vga serial0
qm set 106 --agent 1
qm set 106 --ide0 STORE:cloudinit
qm set 106 --boot c --bootdisk scsi0
qm template 106
qm clone 106 107 --name base
qm resize 107 scsi0 128G
qm set 107 --ipconfig0 ip=x.x.x.x/24,gw=x.x.x.x --ciuser admin --cipassword toto
qm start 107
Cloud-init does not start or extremely randomly.
I need to recreate the cloudinit disk and it could work.
The boot is super slow and is stuck in "Starting serial...".
After a while, I used to have just after "Loading intiial ramdisk" : "Gave up waiting for suspend/resume device".
And then, the normal boot and the prompt without changes.
I don't know if I miss something or if the built image needs something else (since I built in my intranet) ?
Last edited: