From 2730bda32b79cd8433d8855e38e46360aab2c080 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Wed, 22 Mar 2023 16:36:31 -0400 Subject: [PATCH] Run latest lxd for development. --- deployment/remote.sh | 2 +- install.sh | 2 +- management/provision.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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.