diff --git a/deployment/remote.sh b/deployment/remote.sh index a92e2f1..f38856d 100755 --- a/deployment/remote.sh +++ b/deployment/remote.sh @@ -145,7 +145,7 @@ fi # install dependencies. ssh -t "ubuntu@$FQDN" 'sudo apt update && sudo apt upgrade -y && sudo apt install htop dnsutils nano -y' if ! ssh "ubuntu@$FQDN" snap list | grep -q lxd; then - ssh -t "ubuntu@$FQDN" 'sudo snap install lxd' + ssh -t "ubuntu@$FQDN" 'sudo snap install lxd --channel=latest/candidate' sleep 5 fi diff --git a/install.sh b/install.sh index f7b104e..28abfa0 100755 --- a/install.sh +++ b/install.sh @@ -28,7 +28,7 @@ fi # install lxd snap and initialize it if ! snap list | grep -q lxd; then - sudo snap install lxd + sudo snap install lxd --channel=latest/candidate sleep 5 # run lxd init diff --git a/management/provision.sh b/management/provision.sh index a64a859..b8c572f 100755 --- a/management/provision.sh +++ b/management/provision.sh @@ -34,7 +34,7 @@ sleep 10 # install snap if ! snap list | grep -q lxd; then - sudo snap install lxd + sudo snap install lxd --channel=latest/candidate sleep 6 # We just do an auto initialization. All we are using is the LXD client inside the management environment.