KVM VM Vyos IP is Missing with qcow2 image

Hi Team,

I have followed the instructions from the below link to build the ISO image. I then converted it to qcow2 image to create KVM VM. However, after creating a VM, it is not getting DHCP IP. is there any special instructions that I need to follow while building the image.?

https://docs.vyos.io/en/latest/contributing/build-vyos.html#qemu

Here is the output: the IP address field is empty.

root@raghuram-vyos:~/vyos-build# virsh domifaddr vyos-01

Name MAC address Protocol Address


Hello @raghuram

You can try to convert to qemu:
https://github.com/vyos/vyos-vm-images
Use the -e enable_dhcp=true option

Hi @RyVolodya
Thanks for your response. This helped me fix my problem.

1 Like