From 3ffc2b325ee3a1112afaa86d529ad6f439b4cde7 Mon Sep 17 00:00:00 2001 From: Carsten Lund Date: Fri, 24 Feb 2017 01:14:09 +0000 Subject: Update to fix hostname issue of demo POSTGRES VM Change-Id: I8396b749d1a0afc532701d7f54d522aa0a33940f Signed-off-by: Carsten Lund --- OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'OPENECOMP-DEMO') diff --git a/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml b/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml index 4486c32..ceddb8e 100644 --- a/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml +++ b/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml @@ -25,12 +25,8 @@ installation-steps: - step: shell command: | - case \\\\\$(hostname -a) in - *openecomp.org*) - sed -i /`hostname`/d /etc/hosts - cat /tmp/vm-*-hosts >> /etc/hosts - ;; - esac + sed -i /`hostname`/d /etc/hosts + cat /tmp/vm-*-hosts >> /etc/hosts apt-get update ; apt-get install -y maven openjdk-8-jdk unzip python-pip pip install pyyaml application-id: root -- cgit 1.2.3-korg