[Libguestfs] virt-builder fail with "bridge ‘virbr0’ not found" (fixed by LIBGUESTFS_BACKEND=direct ?!)

Pino Toscano ptoscano at redhat.com
Wed Oct 10 07:17:36 UTC 2018


On Tuesday, 9 October 2018 20:16:04 CEST Nir Soffer wrote:
> I'm trying to build fedora-27 image for testing uploads:
> 
> $ virt-builder fedora-27 -o /var/tmp/fedora-27.img
> ...
> [  25.2] Opening the new disk
> virt-builder: error: libguestfs error: bridge ‘virbr0’ not found.  Try
> running:
> 
>   brctl show
> 
> to get a list of bridges on the host, and then selecting the
> bridge you wish the appliance network to connect to using:
> 
>   export _SETTINGS=network_bridge=<bridge name>

The libvirt backend uses a network bridge on the host to setup the
networking in the guest, which is enabled by default in virt-builder.

> I don't want to add bridges to my new fresh oVirt test host, and
> remember that this used to work previously without the bridge.

"used to work" which version with? And which version are you using now?

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20181010/331549cf/attachment.sig>


More information about the Libguestfs mailing list