Jiri Broulik | 4ea221c | 2018-04-10 13:48:06 +0200 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Change these 3 values as required | ||||
4 | PROFILE=mirantis | ||||
5 | API_KEY_FILE=/var/lib/maas/.maas_credentials | ||||
6 | API_SERVER=localhost | ||||
7 | |||||
8 | MAAS_URL=http://$API_SERVER/MAAS/api/2.0 | ||||
9 | |||||
10 | maas login $PROFILE $MAAS_URL - < $API_KEY_FILE |