summaryrefslogtreecommitdiffstats
path: root/ci/trusty/ubuntu-nodes-controller/hooks
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-01-18 09:46:04 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2016-01-22 19:50:19 +0000
commit259ded0952e0f1401e705178b876fd99893808ea (patch)
tree06a038b3b56d2e1bba46f76956951d5912169ee4 /ci/trusty/ubuntu-nodes-controller/hooks
parent199be024f56a2b941349e90a2b9891c00ddde9b3 (diff)
deleted as MAAS 1.9 handles all configuration so no need to have
special charm for configuration now. Change-Id: I7268cee5479898b8da2007c590d9eaae5bb9441a (cherry picked from commit 1fa4110c2cd0b0f623e2f8444b6088db9fcdd1fd)
Diffstat (limited to 'ci/trusty/ubuntu-nodes-controller/hooks')
-rwxr-xr-xci/trusty/ubuntu-nodes-controller/hooks/install30
1 files changed, 0 insertions, 30 deletions
diff --git a/ci/trusty/ubuntu-nodes-controller/hooks/install b/ci/trusty/ubuntu-nodes-controller/hooks/install
deleted file mode 100755
index 17265f56..00000000
--- a/ci/trusty/ubuntu-nodes-controller/hooks/install
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-set -e
-set -u
-
-## install lxc pre-configuration to setup multiple interfaces
-status-set maintenance "setting up lxc clone hook" || true
-mkdir -p /usr/local/share/lxc/hooks/
-install -m 755 lxc/add-more-interfaces /usr/local/share/lxc/hooks/
-
-dpkg-divert --local \
- --divert /usr/share/lxc/config/ubuntu-cloud.trusty.conf.ubuntu.orig \
- --add /usr/share/lxc/config/ubuntu-cloud.trusty.conf
-mkdir -p /usr/share/lxc/config/
-install -m 644 lxc/ubuntu-cloud.trusty.conf /usr/share/lxc/config/
-
-## network interfaces
-status-set maintenance "setting up network interfaces" || true
-apt-get update || true
-apt-get install -y ifenslave ethtool bridge-utils vlan
-
-if ! grep -q 8021q /etc/modules; then
- echo 8021q >> /etc/modules
-fi
-
-## write /etc/network/interfaces for the host
-install -m 644 network/interfaces.host /etc/network/interfaces
-ifup -a
-
-status-set active || true