[Ovirt-devel] [PATCH] Fix so libvirt does not start default network interface on developer/bundled

Daniel P. Berrange berrange at redhat.com
Fri May 23 18:19:54 UTC 2008


On Fri, May 23, 2008 at 02:15:43PM -0400, Perry Myers wrote:
> Libvirt by default tries to create a private network for running guests.
> Because on the bundled/developer install we use dnsmasq ourselves, this
> conflicts with the default libvirt network.  Solution is that the appliance
> must always be configured (via kickstart) to not start libvirtd.  Then
> when the ovirt install script runs it removes default.xml and starts
> libvirt up.


> +# if we are developer/bundled install, remove default network
> +# so dnsmasq from libvirt doesn't interfere with the dev/bundled
> +# dnsmasq
> +if [[ "$PROD_INST" == "false" ]]; then
> +    rm -fv /etc/libvirt/qemu/networks/autostart/default.xml
> +    rm -fv /etc/libvirt/qemu/networks/default.xml
> +fi

No, no, no and no. To disable it use virsh

    virsh destroy default
    virsh autostart --disable default

Dan.
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the ovirt-devel mailing list