summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-06-03 14:44:30 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-06-03 15:17:04 (GMT)
commitce64f45eef8ea8fdf558efca3dcc94a9af3fa5fc (patch)
tree23b3d7fd39645ab8d8133fe2c04808b8cec58143
parent4ff0ecb45170b024d29399a696306d927909479e (diff)
downloaddefinitions-ce64f45eef8ea8fdf558efca3dcc94a9af3fa5fc.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.morph3
1 files changed, 3 insertions, 0 deletions
diff --git a/strata/virtualization/libvirt.morph b/strata/virtualization/libvirt.morph
index bdc99dd..1687213 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: