1
1

Bump LXD version.

This commit is contained in:
Derek Smith 2023-11-19 14:00:54 -05:00
parent 2fd61026ef
commit 82fd312766
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
3 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,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 --channel=5.17/stable'
ssh -t "ubuntu@$FQDN" 'sudo snap install lxd --channel=5.18/stable'
sleep 5
fi

View File

@ -47,7 +47,7 @@ export DISK="$DISK"
# install lxd snap and initialize it
if ! snap list | grep -q lxd; then
sudo snap install lxd --channel=5.17/stable
sudo snap install lxd --channel=5.18/stable
sleep 5
# run lxd init

View File

@ -35,7 +35,7 @@ sleep 10
# install snap
if ! snap list | grep -q lxd; then
sudo snap install htop
sudo snap install lxd --channel=5.17/stable
sudo snap install lxd --channel=5.18/stable
sleep 6
# We just do an auto initialization. All we are using is the LXD client inside the management environment.