summaryrefslogtreecommitdiffstats
path: root/blueprints/pgaas-onevm.yaml-template
diff options
context:
space:
mode:
Diffstat (limited to 'blueprints/pgaas-onevm.yaml-template')
-rw-r--r--blueprints/pgaas-onevm.yaml-template15
1 files changed, 14 insertions, 1 deletions
diff --git a/blueprints/pgaas-onevm.yaml-template b/blueprints/pgaas-onevm.yaml-template
index 1575374..ec7aa36 100644
--- a/blueprints/pgaas-onevm.yaml-template
+++ b/blueprints/pgaas-onevm.yaml-template
@@ -57,7 +57,20 @@ inputs:
then
echo WARNING WARNING WARNING
echo The DNS DHCP settings did not work properly.
- exit 1
+ for i in $(seq 20)
+ do
+ echo Sleeping...
+ sleep 10
+ if [ "$(dnsdomainname 2>/dev/null)" != "" ]
+ then break
+ fi
+ echo The DNS DHCP settings still did not work properly.
+ done
+ if [ "$(dnsdomainname 2>/dev/null)" = "" ]
+ then
+ echo Exiting
+ exit 1
+ fi
fi
CONFDIR=/var/config/DCAE/chef/