We can add network device to virtual machine via web interface:
How to do the same operation via Proxmox API?
Probably I should use the command
'pvesh set /nodes/{node}/qemu/{vmid}/config', but I am not sure how to use it to add or to delete a network adapter from a virtual machine.
Could someone, please, show 2 concrete examples of doing that?
1. Add: pvesh set /nodes/...
2. Delete: pvesh delete /nodes/...
How to do the same operation via Proxmox API?
Probably I should use the command
'pvesh set /nodes/{node}/qemu/{vmid}/config', but I am not sure how to use it to add or to delete a network adapter from a virtual machine.
Could someone, please, show 2 concrete examples of doing that?
1. Add: pvesh set /nodes/...
2. Delete: pvesh delete /nodes/...