Hello,
I am trying to create a cloud-init template for my VMs. I am on Proxmox VE 8.1.5. I am able to create the template, but when I clone it and attempt to start the clone, the cloud-init process never gets kicked off during boot (no ssh keys are generated, and ultimately I get a startup error in the cloned VM saying that SSHD could not be started). I am trying to use OVMF BIOS and q35 machine type so that I can use PCIe passthrough on the guest VM. These are the steps I am taking to create the template:
(I have also tried
instead of
and gotten the same results)
I can't for the life of me tell what I am doing wrong. Any suggestions?
Thank you!
~ Adri
I am trying to create a cloud-init template for my VMs. I am on Proxmox VE 8.1.5. I am able to create the template, but when I clone it and attempt to start the clone, the cloud-init process never gets kicked off during boot (no ssh keys are generated, and ultimately I get a startup error in the cloned VM saying that SSHD could not be started). I am trying to use OVMF BIOS and q35 machine type so that I can use PCIe passthrough on the guest VM. These are the steps I am taking to create the template:
Bash:
wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-disk-kvm.img
qm create 9009 --agent 1 --bios=ovmf --cores 2 --efidisk0 local-lvm:1 --machine q35 --memory 2048 --name "ubuntu-jammy-template" --net0 virtio,bridge=vmbr0 --ide2 local-lvm:cloudinit --serial0 socket --vga serial0 --ostype l26 --citype nocloud
qm disk import 9009 jammy-server-cloudimg-amd64-disk-kvm.img local-lvm
qm set 9009 --scsi0 local-lvm:vm-9009-disk-1 --scsihw virtio-scsi-pci --boot c --boot order=scsi0
qm template 9009
(I have also tried
Code:
--cdrom
Code:
--ide2
I can't for the life of me tell what I am doing wrong. Any suggestions?
Thank you!
~ Adri