Template Issue

coderpro12

Active Member
Jun 21, 2019
1
0
41
35
We recently got the Proxmox VPS WHMCS addon. We are now trying to set up the templates for auto deploy. We tried to use the following guide here https://pve.proxmox.com/wiki/Cloud-Init_Support but gets errors when following the guide.

"qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-1
update VM 9000: -scsi0 local-lvm:vm-9000-disk-1 -scsihw virtio-scsi-pci
can't get size of '/dev/pve/vm-9000-disk-1': Failed to find logical volume "pve/vm-9000-disk-1"

We have also tried to make our own template but the user is never added to the server on first boot.
 
What type of image centos debian etc as some of the cloud images the cloud init is too old like centos for example

So u have to do a few other things to get them to work
 
If you do this by API, you have to add the Disk before do any other Steps. Check if the VM 9000 has an virtual Disk or not.
 
Hi did you ever solve this issue? Wanted to try ubuntu cloud init images and couldn't get it working.