summaryrefslogtreecommitdiffstats
path: root/ci/onos/cloud-sh-onos/lxc-network.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-10-03 07:32:26 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-10-03 15:50:02 -0500
commit4b367d124bece258eb520c7878de835b37a01abb (patch)
treeead2520d31a7367c1c342ea44f368b6e9f980589 /ci/onos/cloud-sh-onos/lxc-network.sh
parent8ef7d630c0b868770e77a333171819af133d6308 (diff)
removing the stalled filed
Remove the stalled files and update the labconfig for juniper lab in opnfv. Change-Id: Ib734a9b8cd608e70cbaae007a60caa8d3c14fdf3 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/onos/cloud-sh-onos/lxc-network.sh')
-rw-r--r--ci/onos/cloud-sh-onos/lxc-network.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/ci/onos/cloud-sh-onos/lxc-network.sh b/ci/onos/cloud-sh-onos/lxc-network.sh
deleted file mode 100644
index 5a65fa18..00000000
--- a/ci/onos/cloud-sh-onos/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