Template Issue

coderpro12

New Member
Jun 21, 2019
1
0
1
34
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.
 

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!