summaryrefslogtreecommitdiffstats
path: root/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml
diff options
context:
space:
mode:
authorCarsten Lund <lund@research.att.com>2017-06-21 11:36:15 +0000
committerCarsten Lund <lund@research.att.com>2017-06-21 11:38:13 +0000
commitb2112de48b9c00738bea8e826d23413ac79b47c3 (patch)
treecfa03c03821facfb4befc00ed451624ccda4e180 /OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml
parent8f2ae2aad19bdbdfc6276476f58e7cef671a113f (diff)
[DCAE-27] Ensure eth1 comes up on Ubuntu 14.04HEADmaster
Change-Id: I96c47d4c9997e4eae96f912c9af40f0b218d0c5c Signed-off-by: Carsten Lund <lund@research.att.com>
Diffstat (limited to 'OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml')
-rw-r--r--OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml b/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml
index a375f45..160ed66 100644
--- a/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml
+++ b/OPENECOMP-DEMO/vm-templates/vm-cdap-cluster.yaml
@@ -27,6 +27,9 @@ installation-steps:
- step: shell
command: |
+ echo auto eth1 >> /etc/network/interfaces
+ echo iface eth1 inet dhcp >> /etc/network/interfaces
+ ifup eth1
apt-get update ; apt-get install -y maven openjdk-7-jdk unzip python-pip
pip install pyyaml
application-id: root