Score:0

migrating openBSD VM from linux host to linux host messes up name resolution

id flag

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.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.