summaryrefslogtreecommitdiffstats
path: root/ci/nosdn/cloud-sh-odl/lxc-network.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/nosdn/cloud-sh-odl/lxc-network.sh')
-rwxr-xr-xci/nosdn/cloud-sh-odl/lxc-network.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/ci/nosdn/cloud-sh-odl/lxc-network.sh b/ci/nosdn/cloud-sh-odl/lxc-network.sh
deleted file mode 100755
index 5a65fa18..00000000
--- a/ci/nosdn/cloud-sh-odl/lxc-network.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh -e
-
-DEBIAN_FRONTEND=noninteractive apt-get -qy -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install lxc < /dev/null
-
-sed -e 's/^USE_LXC_BRIDGE="true"/USE_LXC_BRIDGE="false"/' -i /etc/default/lxc
-service lxc-net restart
-
-ifdown eth0
-mv /etc/network/interfaces.d/eth0.cfg /etc/network/interfaces.d/eth0.cfg.bak
-cat <<-"EOF" > /etc/network/interfaces.d/bridge.cfg
- auto eth0
- iface eth0 inet manual
-
- auto lxcbr0
- iface lxcbr0 inet dhcp
- bridge_ports eth0
- EOF
-ifup eth0 lxcbr0