1
1

Run latest lxd for development.

This commit is contained in:
Derek Smith 2023-03-22 16:36:31 -04:00
parent 73eacb9125
commit 2730bda32b
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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.