Using a cloud image to create a new VM using the command line is straightforward. I'm running into a problem using the API to do the same.
I am using this cloud image:
https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img
I'm using this API endpoint (substituting node for my node's name):
/api2/json/nodes/{node}/qemu
And then the following config:
Read more
I am using this cloud image:
https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img
I'm using this API endpoint (substituting node for my node's name):
/api2/json/nodes/{node}/qemu
And then the following config:
JSON:
{
'name': 'test',
'vmid': 101,
'ostype': 'l26',
'memory'...
Read more