Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

How do you access the MAAS CLI?

Writer Matthew Harrington

How do you access the MAAS CLI after new/fresh installation?

1 Answer

  1. After you install MAAS, you must populate it with an admin account.

    maas createadmin --username=${MAAS_USER} --password=${MAAS_PASSWORD} --email=${MAAS_EMAIL}


  1. Put the MAAS admin password in a read-only hidden file. (Your security requirements for password management may differ...)

    echo ${MAAS_PASSWORD} >| /root/.maas ; chmod 600 /root/.maas


  1. Login to MAAS.

    maas login ${MAAS_USER} - < /root/.maas


  1. Run a command to test. For example:

    maas ${MAAS_USER} fabrics read

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy