I have several KVM VMs on PVE host (both windows and linux guests), all VMs are have qemu-agent installed, and PVE web interface show VM’s IPs. But I can’t find a way to get these IPs from script run on PVE host.
Please advice! Should be some API call or some way to poll qemu-agent I suppose?
All I can find so far is to parse arp table for VM MACs but when agent can report correct (and all) IPs this should be better way.
PVE 6.2 and 6.3 involved.
Please advice! Should be some API call or some way to poll qemu-agent I suppose?
All I can find so far is to parse arp table for VM MACs but when agent can report correct (and all) IPs this should be better way.
PVE 6.2 and 6.3 involved.
Last edited: