modfied to comment VLAN as some issues today.
[joid.git] / ci / 03-maasdeploy.sh
index bb21fe3..f55c39a 100755 (executable)
@@ -547,9 +547,10 @@ sleep 30
 
 setupspacenetwork
 
-#just make sure rack controller has been synced and import only
-# just whether images have been imported or not.
-#sudo ./maas-reconfigure-region.sh $MAAS_IP
+sudo sed -i 's/localhost/'$MAAS_IP'/g' /etc/maas/rackd.conf
+sudo service maas-rackd restart
+sudo service maas-regiond restart
+
 sleep 120
 
 # Let's add the nodes now. Currently works only for virtual deployment.