Trying to setup the right values of mysql for cluster.
[joid.git] / ci / 03-maasdeploy.sh
index c0226bc..2e26e92 100755 (executable)
@@ -395,18 +395,22 @@ addnodes(){
     fi
 }
 
+#configure MAAS with the different options.
 configuremaas
+
 if [ "$virtinstall" -eq 1 ]; then
     enablesubnetanddhcp
 fi
 
+sleep 60
+
 #reconfigure maas with correct MAAS address.
 #Below code is needed as MAAS have issue in commisoning without restart.
 sudo ./maas-reconfigure-rack.sh $MAAS_IP
 sudo ./maas-reconfigure-region.sh $MAAS_IP
 
 # lets sleep for around 5 more minutes to make sure all images are in sync.
-sleep 300
+sleep 240
 
 #lets add the nodes now. Currently works only for virtual deploymnet.
 addnodes