diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-06-03 14:44:30 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-06-04 10:32:02 +0000 |
commit | c33b8036f85556e1daecc7a646556dadd68f9b8b (patch) | |
tree | 3f70fe09ddc3ae3d599f491e0b71511f49215d9d | |
parent | d5dbf141ac8254123d048b2ea16e2d5420056fae (diff) | |
download | definitions-c33b8036f85556e1daecc7a646556dadd68f9b8b.tar.gz |
libvirt.morph: Don't autostart the default network
Remove the symlink that enables the default network to autostart.
It's helpful to have a default network, but starting it
automatically may create some confusion to the network if you
didn't want it running, and didn't know it was there.
I found that this network was running after configuring a OpenStack
sub-network using the same range of IP addresses and suffering
connectivity issues.
Change-Id: I0d0c399236ba06547e20c6433f115633a97b01b9
-rw-r--r-- | strata/virtualization/libvirt.morph | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/strata/virtualization/libvirt.morph b/strata/virtualization/libvirt.morph index bdc99ddf..1687213c 100644 --- a/strata/virtualization/libvirt.morph +++ b/strata/virtualization/libvirt.morph @@ -21,6 +21,9 @@ configure-commands: --without-storage-disk --with-storage-rbd --without-storage-sheepdog \ --without-storage-gluster --without-wireshark-dissector --disable-werror \ --prefix="$PREFIX" +post-install-commands: +# Don't autostart the default network created by libvirt +- rm -f "$DESTDIR"/etc/libvirt/qemu/networks/autostart/default.xml system-integration: libvirt-misc: 01-addgroup: |