summaryrefslogtreecommitdiffstats
path: root/ci/03-maasdeploy.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-14 05:38:13 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-14 05:38:13 -0600
commit11d88375218cf94d24024b4178d2d1cd78e49999 (patch)
tree5f53002573affd6702e9a55ab0a1661e606b8dcc /ci/03-maasdeploy.sh
parent088c9dba38329853b6506474f7d1fe06784576f2 (diff)
Trying to setup the right values of mysql for cluster.
Change-Id: I3d1d8e7284e33b9eb056d17b41f792e757699747 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/03-maasdeploy.sh')
-rwxr-xr-xci/03-maasdeploy.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh
index c0226bcb..2e26e928 100755
--- a/ci/03-maasdeploy.sh
+++ b/ci/03-maasdeploy.sh
@@ -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