Modify vnic via API.

Hyien

Member
Jun 18, 2021
95
3
13
35
How can I modify the properties vnic of a VM with /nodes/{node}/qemu/{vmid}/config while preserving existing properties?

eg.
i have a vm nic with: virtio=XX:XX:XX:XX:XX:XX,bridge=vmbr0,mtu=9000
and i like to disable the vnic with link_down=1, how can i do this without having to read / parse the existing config?