[Bug 1190501] virt-builder fails to install packages when building an image
https://bugzilla.suse.com/show_bug.cgi?id=1190501 https://bugzilla.suse.com/show_bug.cgi?id=1190501#c15 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #15 from James Fehlig <jfehlig@suse.com> --- Things seemed to have regressed with the new libguestfs # virt-builder --install dsniff --selinux-relabel --root-password password:123456 --ssh-inject root:file:/var/cache/libvirt-tck/ssh/id_rsa.pub --output /var/cache/libvirt-tck/os-x86_64-hvm-f34/disk-fedora-34.img --memsize 1024 fedora-34 ... Errors during downloading metadata for repository 'fedora-cisco-openh264': - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-34&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org] From the verbose output I see that eth0 in the appliance did not get an IP addr. Also of interest from the output + iface=eth0 + touch /etc/fstab + rm -f /etc/dhcp/dhclient-enter-hooks.d/resolved + dhclient --version + dhcpcd eth0 /init: line 126: dhcpcd: command not found Hmm, why is it trying dhcpcd? dhclient should be available. From the host # dhclient --version >/dev/null 2>&1 # echo $? 0 Not sure how the appliance is built, but appears it is missing the dhclient binary (from dhcp-client package). -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com