Hello,
I am encountering an issue with content storage creation using the Proxmox API. Specifically, I am trying to create a subvolume format with rootdir content in my storage using the following API endpoint:
Here is the JSON parameter I used:
However, the content created is of type "images" instead of "rootdir". As we know, image content is intended for virtual machines, not containers. Could someone please assist me in understanding why this is happening and how to correctly create rootdir content?
Thank you in advance for your help.
I am encountering an issue with content storage creation using the Proxmox API. Specifically, I am trying to create a subvolume format with rootdir content in my storage using the following API endpoint:
Code:
POST /api2/json/nodes/{node}/storage/{storage}/content
Here is the JSON parameter I used:
Code:
{
"filename": "subvol-1007-disk-0",
"node": "project-a",
"size": "8G",
"storage": "datastore",
"vmid": 1007,
"format": "subvol"
}
Thank you in advance for your help.