I cannot use snap because $HOME is an NFS mount. How do I install the “maas-cli” client?
The script that I am trying to use is calling maas-cli login -p … which does not appear to be acceptable to the maas tool. So I guess my first question is, are “maas” and “maas-cli” the same thing and if not, are they both supported?
So maas-cli and maas are basically the same thing, just slightly different syntax? I do remember doing some python coding also way back when, I think as part of linking ansible (kubespray) to maas.
Long time ago there was maas-cli utility but it is deprecated in favour of maas since maas (1.5+bzr1948-0ubuntu1)
debian/extras/maas-cli renamed to debian/extras/maas, and introduce
a deprecation warning in favour of using maas over maas-cli.
Nowadays maas-cli is a package that will install maas CLI (which you would normally get when you install MAAS as a snap but without some subcommands that are snap specific). Also CLI subcommands availability depends if you have it installed on the controller or not.
For example the following commands are available only on the Region controller:
init Initialize controller.
apikey Used to manage a user's API keys. Shows existing keys unless --generate or --delete is passed.
configauth Configure external authentication.
config-tls Configure MAAS Region TLS.
config-vault Configure MAAS Region Vault integration.
createadmin Create a MAAS administrator account.
changepassword Change a MAAS user's password.