Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171654

Proxmox HTTP API Create a new VM with SCSI

$
0
0
Hi,
I'm trying to create a new VM with the API per Post Request.

This also worked until I wanted to add a drive via SCSI.

For this I have sent this data:

... "&scsi0=moxx01:vm-103-disk-0,discard=on,iops_rd=500,iops_wr=500,size=50G,ssd=1" ...

JSON:
{
    "data":null,
    "errors":{
        "scsi0":"invalid format - duplicate key in comma-separated list property: file\n"
    }
}

I do not understand where the duplicate key is supposed to be.

Thanks in advance

Viewing all articles
Browse latest Browse all 171654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>