When using virt-install
to create a guest, CentOS 7.9 cloud image successfully gets an IP address, which can be checked with sudo virsh domifaddr <domain>
. However, Ubuntu 20.04 LTS cloud image cannot, it just won't be assigned an IP address, no matter what I do. It successfully boots, and I can see the login prompt using sudo virsh console <domain>
, but I can't ssh into it, since no IP is being assigned. I'm using virt-manager's default network. sudo iptables -S
shows rules accepting in-going and on-going traffic for the DHCP ports on the host.
Any help is greatly appreciated.