[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] Name resolution not working inside virt-customize

On Wed, Mar 11, 2015 at 03:09:56PM -0400, Lee Revell wrote:
> On 03/10/2015 05:12 PM, Richard W.M. Jones wrote:
> >Just for comparison, libguestfs 1.29.29 on Fedora host, plus
> >virt-builder, with a Fedora guest does this:
> >
> libguestfs 1.29.29 on a ubuntu 14.04 host with fedora-21 guest seems
> have no functioning network, it cannot ping the host. Is there some
> configuration required on the host?
> leer eng-leer:~/libguestfs-1.29.29$ virt-builder fedora-21
> --run-command "ping -c 4"
> [   1.0] Downloading: http://libguestfs.org/download/builder/fedora-21.xz
> [   1.0] Planning how to build this image
> [   1.0] Uncompressing
> [  28.0] Opening the new disk
> [  31.0] Setting a random seed
> [  31.0] Running: ping -c 4
> connect: Network is unreachable
> virt-builder: error: ping -c 4 command exited with an error

Because of the non-root networking technology we use (SLIRP), 'ping'
doesn't work and there are other shortcomings.  See:


If you use the libvirt backend, it is able to set up a real network
without needing root (but using a setuid program called
'qemu-bridge-helper' supplied by qemu), but we don't have that for the
direct backend yet.



Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]