Maas init

Hi , I want to add a new rack controller version 2.9 from snap but why does it give me the fllowing error?

nasri@newpc:~$ sudo maas init rack --maas-url --secret 7540f55e4615389165439d9cbd080d46
[sudo] password for nasri:
usage: maas [-h] COMMAND …

optional arguments:
-h, --help show this help message and exit

drill down:
login Log in to a remote API, and remember its description and
logout Log out of a remote API, purging any stored credentials.
list List remote APIs that have been logged-in to.
refresh Refresh the API descriptions of all profiles.

argument COMMAND: invalid choice: ‘init’ (choose from ‘login’, ‘logout’, ‘list’, ‘refresh’)

for those who messed MAAS like me do this

sudo snap remove maas && sudo snap install maas

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.