J jort New Member Nov 24, 2016 19 0 1 27 Dec 20, 2016 #1 how do i set the boot order of a VM via the api?, i cant seem to find it in the config or any other documentation.
how do i set the boot order of a VM via the api?, i cant seem to find it in the config or any other documentation.
fabian Proxmox Staff Member Staff member Jan 7, 2016 12,617 3,550 303 Dec 20, 2016 #2 just like all the other config options - with POST or PUT to /nodes/NODE/qemu/VMID/config , setting the "startup" config value
just like all the other config options - with POST or PUT to /nodes/NODE/qemu/VMID/config , setting the "startup" config value
J jort New Member Nov 24, 2016 19 0 1 27 Dec 20, 2016 #3 fabian said: just like all the other config options - with POST or PUT to /nodes/NODE/qemu/VMID/config , setting the "startup" config value Click to expand... i was using the GET on /nodes/NODE/qemu/VMID/config to get its current boot order but i didnt find any such value's in the returned object. but ill try setting the startup in my PUT object, any guides on how these things should be formatted?
fabian said: just like all the other config options - with POST or PUT to /nodes/NODE/qemu/VMID/config , setting the "startup" config value Click to expand... i was using the GET on /nodes/NODE/qemu/VMID/config to get its current boot order but i didnt find any such value's in the returned object. but ill try setting the startup in my PUT object, any guides on how these things should be formatted?
dcsapak Proxmox Staff Member Staff member Feb 1, 2016 10,549 1,685 273 37 Vienna Dec 20, 2016 #4 see http://pve.proxmox.com/pve-docs/api-viewer/index.html
J jort New Member Nov 24, 2016 19 0 1 27 Dec 20, 2016 #5 dcsapak said: see http://pve.proxmox.com/pve-docs/api-viewer/index.html Click to expand... thanks alot, thats a really useful page.
dcsapak said: see http://pve.proxmox.com/pve-docs/api-viewer/index.html Click to expand... thanks alot, thats a really useful page.