0

I created an OpenBSD guest VM on fedora. I migrated the qcow2 image from fedora to rockylinux and used it create a new VM.

virt-install \
        --import \
        --virt-type=kvm \
        --name=openbsd-template \
        --vcpus=1 \
        --memory=1024 \
        --disk path=/var/lib/libvirt/images/openbsd-template.qcow2,fo
rmat=qcow2 \
        --network bridge="nm-bridge" \
        --osinfo openbsd7.0 \
        --graphics none

I am using bridge networking with dhcp. The VM gets ip address and I am able to ssh into the machine and able to ping other nodes in the network from the VM. However, name resolution no longer functional because 8.8.8.8 is not reachable:

nginx-template$ ping 8.8.8.8       
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendmsg: Can't assign requested address
ping: wrote 8.8.8.8 64 chars, ret=-1
ping: sendmsg: Can't assign requested address
ping: wrote 8.8.8.8 64 chars, ret=-1

This issue doesn't show up running other OS in VM.

Kabira K
  • 133
  • 5

0 Answers0