Initialise MAAS in the specified run mode.
maas init [-h] {region+rack,region,rack} ...
Command-line options
Option | Effect |
---|---|
-h, --help | show this help message and exit |
Run modes
Mode | Effect |
---|---|
region+rack | Both region and rack controllers |
region | Region controller only |
rack | Rack controller only |
When installing region or rack+region modes, MAAS needs a PostgreSQL database to connect to.
If you want to set up PostgreSQL for a non-production deployment on this machine, and configure it for use with MAAS, you can install the maas-test-db
snap before running maas init
:
sudo snap install maas-test-db
sudo maas init region+rack --database-uri maas-test-db:///
Last updated a day ago.