https://pve.proxmox.com/wiki/Cloud-Init_Support
The link above refers refers to the example below:
As such i put the following into the shell:
The last line leaves me with the following error:
Any ideas how to get around this? Proxmox 7.2
The link above refers refers to the example below:
Code:
# download the image
wget https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img
# create a new VM with VirtIO SCSI controller
qm create 9000 --memory 2048 --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pci
# import the downloaded disk to the local-lvm storage, attaching it as a SCSI drive
qm set 9000 --scsi0 local-lvm:0,import-from=/path/to/bionic-server-cloudimg-amd64.img
As such i put the following into the shell:
Code:
cd /var/lib/vz/images/
wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
qm create 9000 --memory 2048 --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pci
qm set 9000 --scsi0 local-lvm:0,import-from=/var/lib/vz/images/jammy-server-cloudimg-amd64.img
The last line leaves me with the following error:
Code:
400 Parameter verification failed.
scsi0: invalid format - format error
scsi0.import-from: property is not defined in schema and the schema does not allow additional properties
qm set <vmid> [OPTIONS]
Any ideas how to get around this? Proxmox 7.2