diff options
author | Carsten Lund <lund@research.att.com> | 2017-02-24 01:14:09 +0000 |
---|---|---|
committer | Carsten Lund <lund@research.att.com> | 2017-02-24 01:14:09 +0000 |
commit | 3ffc2b325ee3a1112afaa86d529ad6f439b4cde7 (patch) | |
tree | dc890e769233474e0a384aa203f5fe88ec693b5f /OPENECOMP-DEMO/vm-templates | |
parent | 7abef9cddd039d247e8201ecac45823ef17e1eb7 (diff) |
Update to fix hostname issue of demo POSTGRES VM
Change-Id: I8396b749d1a0afc532701d7f54d522aa0a33940f
Signed-off-by: Carsten Lund <lund@research.att.com>
Diffstat (limited to 'OPENECOMP-DEMO/vm-templates')
-rw-r--r-- | OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml | 8 |
1 files changed, 2 insertions, 6 deletions
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 |