Update maas-setup.sh

This commit is contained in:
antongisli 2021-11-16 13:47:15 +01:00 committed by GitHub
parent 8bff9ddb25
commit c1425e8dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
# lxd / maas issue. either upgrade lxd or maas to 3.1 # lxd / maas issue. either upgrade lxd or maas to 3.1
sudo snap switch --channel=4.19/stable lxd sudo snap switch --channel=4.19/stable lxd
sudo snap refresh lxd sudo snap refresh lxd
sudo snap install --channel=3.1/beta maas
#get local interface name (this assumes a single default route is present) #get local interface name (this assumes a single default route is present)
export INTERFACE=$(ip route | grep default | cut -d ' ' -f 5) export INTERFACE=$(ip route | grep default | cut -d ' ' -f 5)
@ -116,4 +117,4 @@ juju deploy lma-light --channel=edge --trust
## random notes ## random notes
# get some storage going # get some storage going
# https://jaas.ai/ceph-base # https://jaas.ai/ceph-base
# https://jaas.ai/canonical-kubernetes/bundle/471 # https://jaas.ai/canonical-kubernetes/bundle/471