Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

An error occurred while submitting your form. Please try again or file a bug report. Close

init

Initialize 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 month ago. Help improve this document in the forum.