diff options
author | Carsten Lund <lund@research.att.com> | 2017-03-07 00:22:03 +0000 |
---|---|---|
committer | Carsten Lund <lund@research.att.com> | 2017-03-07 00:22:03 +0000 |
commit | 94c8cd9f47c64fb407eb5ef64df9e489aeb2cc19 (patch) | |
tree | c80e9ebe65b9625ed41ceb43b9d124e6f34757a9 /OPENECOMP-DEMO/vm-templates | |
parent | e4709a4207717ecd0de8f92082e6379ab1263ccf (diff) |
[DCAE-2] Wait for DNS to start working.
Change-Id: Ib2b37b822cc018cd7e04ae1cc6bc7c5e94fd5965
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml b/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml index ceddb8e..f8edda6 100644 --- a/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml +++ b/OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml @@ -27,6 +27,10 @@ installation-steps: command: | sed -i /`hostname`/d /etc/hosts cat /tmp/vm-*-hosts >> /etc/hosts + while ! nslookup security.ubuntu.com; do + echo DNS for security.ubuntu.com FAILED + sleep 1m + done apt-get update ; apt-get install -y maven openjdk-8-jdk unzip python-pip pip install pyyaml application-id: root |