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
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# lxd / maas issue. either upgrade lxd or maas to 3.1
sudo snap switch --channel=4.19/stable 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)
export INTERFACE=$(ip route | grep default | cut -d ' ' -f 5)