P pmlearner Member Jul 9, 2019 25 0 6 55 Jul 14, 2020 #1 It is my understanding that virsh, etc. do not work with proxmox but instead one should only use the qm tools. Is there a way with qm or other tools to learn the IP of a kvm server on my proxmox node? Thanks!
It is my understanding that virsh, etc. do not work with proxmox but instead one should only use the qm tools. Is there a way with qm or other tools to learn the IP of a kvm server on my proxmox node? Thanks!
Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,371 342 128 31 Vienna shop.proxmox.com Jul 15, 2020 #2 Hi, pmlearner said: Is there a way with qm or other tools to learn the IP of a kvm server on my proxmox node? Click to expand... To know IP of VMs you should to enable Qemu Agent then use qm tool to do many things, like know IP with execute command on the VM. qm guest exec <VMID> -- hostname --ip-address If you have jq tool you can also output as JSON like: qm guest exec <VMID> -- ip a | jq
Hi, pmlearner said: Is there a way with qm or other tools to learn the IP of a kvm server on my proxmox node? Click to expand... To know IP of VMs you should to enable Qemu Agent then use qm tool to do many things, like know IP with execute command on the VM. qm guest exec <VMID> -- hostname --ip-address If you have jq tool you can also output as JSON like: qm guest exec <VMID> -- ip a | jq