summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OPENECOMP-DEMO/vm-templates/vm-postgresql.yaml4
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