Comment 2 for bug 1306178

Revision history for this message
Scott Moser (smoser) wrote :

$ apt-get install maas-region-controller-min --assume-yes --quiet
$ sudo sed -i.smdist 's,^DEFAULT_MAAS_URL = .*$,DEFAULT_MAAS_URL = "http://127.0.1.2/MAAS",' /etc/maas/maas_local_settings.py

$ sudo diff -u /etc/maas/maas_local_settings.py.smdist /etc
/maas/maas_local_settings.py
--- /etc/maas/maas_local_settings.py.smdist 2014-04-10 18:01:50.653305999 +0000
+++ /etc/maas/maas_local_settings.py 2014-04-10 18:04:51.445305999 +0000
@@ -4,7 +4,7 @@
 # Default URL specifying protocol, host, and (if necessary) port where
 # systems in this MAAS can find the MAAS server. Configuration can, and
 # probably should, override this.
-DEFAULT_MAAS_URL = "http://10.55.61.17/MAAS"
+DEFAULT_MAAS_URL = "http://127.0.1.2/MAAS"

 # Absolute path to the directory static files should be collected to.
 STATIC_ROOT = '/usr/share/maas/web/static/'

$ sudo dpkg-reconfigure maas-region-controller-min
$ sudo grep DEFAULT_MAAS_URL /etc/maas/maas_local_settings.py
DEFAULT_MAAS_URL = "http://10.55.61.17/MAAS"