Change vm boot order via api?

jort

New Member
Nov 24, 2016
19
0
1
27
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.
 
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

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?