Update maas-setup.sh
This commit is contained in:
parent
903c709207
commit
51b6328ee5
@ -30,7 +30,7 @@ lxd waitready
|
|||||||
sudo maas init region+rack --database-uri maas-test-db:/// --maas-url http://${IP_ADDRESS}:5240/MAAS
|
sudo maas init region+rack --database-uri maas-test-db:/// --maas-url http://${IP_ADDRESS}:5240/MAAS
|
||||||
sleep 15
|
sleep 15
|
||||||
# Create MAAS admin and grab API key
|
# Create MAAS admin and grab API key
|
||||||
maas createadmin --username admin --password admin --email admin
|
sudo maas createadmin --username admin --password admin --email admin
|
||||||
export APIKEY=$(sudo maas apikey --username admin)
|
export APIKEY=$(sudo maas apikey --username admin)
|
||||||
# MAAS admin login
|
# MAAS admin login
|
||||||
maas login admin 'http://localhost:5240/MAAS/' $APIKEY
|
maas login admin 'http://localhost:5240/MAAS/' $APIKEY
|
||||||
|
Loading…
Reference in New Issue
Block a user