Re: How to get the hostname and IP address of a VM using qemu-guest-agent

2022-04-14 Thread Ahmad Ismail
Thank you very much for your kind answer. Due to a mail filter issue on my client, I did not find your response earlier. Sorry for the late reply.

Re: How to get the hostname and IP address of a VM using qemu-guest-agent

2022-01-25 Thread Tomáš Golembiovský
Hi, On Mon, Jan 24, 2022 at 12:06:05AM +0600, Ahmad Ismail wrote: > I am running a VM using > > qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 1 -m 2048 \ > -drive file=ubuntu-server1.qcow2,if=virtio -vga virtio -display none > -daemonize \ > -nic bridge,model=virtio-net-pci,mac=DE:AD:

How to get the hostname and IP address of a VM using qemu-guest-agent

2022-01-23 Thread Ahmad Ismail
I am running a VM using qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 1 -m 2048 \ -drive file=ubuntu-server1.qcow2,if=virtio -vga virtio -display none -daemonize \ -nic bridge,model=virtio-net-pci,mac=DE:AD:BE:EF:E0:00 To get the IP address I have to use: ps -ef | grep qemu arp | gre