Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,342 324 108 31 Vienna shop.proxmox.com Jun 24, 2024 #2 Hi, you can see the VM's IP address in the Proxmox VE Web UI, or using API [0] Bash: pvesh get /nodes/{node}/qemu/{vmid}/agent/network-get-interfaces You have to change the `{node} and `{vmid}` in the above command. [0] https://pve.proxmox.com/pve-docs/ap...ode}/qemu/{vmid}/agent/network-get-interfaces
Hi, you can see the VM's IP address in the Proxmox VE Web UI, or using API [0] Bash: pvesh get /nodes/{node}/qemu/{vmid}/agent/network-get-interfaces You have to change the `{node} and `{vmid}` in the above command. [0] https://pve.proxmox.com/pve-docs/ap...ode}/qemu/{vmid}/agent/network-get-interfaces
C chon New Member Jul 29, 2024 6 0 1 Jul 29, 2024 #3 Code: // PHP Code $ip = $proxmox->nodes()->node("node02")->qemu()->vmId(132)->agent()->networkGetInterfaces()->getPve()->getHostname()->get(); This interface returns NULL. hi,I am not getting the ip address of the specified vmid. help me Please,ThankYou. Last edited: Jul 29, 2024
Code: // PHP Code $ip = $proxmox->nodes()->node("node02")->qemu()->vmId(132)->agent()->networkGetInterfaces()->getPve()->getHostname()->get(); This interface returns NULL. hi,I am not getting the ip address of the specified vmid. help me Please,ThankYou.