how can i send amulti line text threw the api /agent/file-write?
pvesh create /nodes/{node}/qemu/{vmid}/agent/file-write --content "$(echo -e 'TEST1\nTEST2')" --file "/tmp/newline"
what does \+?\d+(\.\d+)?[KMGT]?
PUT /api2/extjs/nodes/{NODE}/qemu/{VMID}/resize
disk=scsi1&size=+1G
status: 400,
statusText: 'Parameter verification failed.',
const test = await fetch(
`https://server:8006/api2/json/nodes/{node}/qemu/{qemu}/resize`,
{
method: "PUT",
headers: {
Cookie: `PVEAuthCookie=${ticket}`,
CSRFPreventionToken: CSRFPreventionToken
},
data: "disk=scsi0&size=+1G"
}
);
https://server:8006/api2/json/nodes/node/qemu/qemu/resize?disk=scsi0&size=+1G
"errors": {
"size": "value does not match the regex pattern"
}