Switch to the lxd stable channel.
This commit is contained in:
parent
62c7fd0504
commit
d49f3f58b6
@ -148,7 +148,7 @@ fi
|
|||||||
# install dependencies.
|
# install dependencies.
|
||||||
ssh -t "ubuntu@$FQDN" 'sudo apt update && sudo apt upgrade -y && sudo apt install htop dnsutils nano -y'
|
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
|
if ! ssh "ubuntu@$FQDN" snap list | grep -q lxd; then
|
||||||
ssh -t "ubuntu@$FQDN" 'sudo snap install lxd --channel=latest/candidate'
|
ssh -t "ubuntu@$FQDN" 'sudo snap install lxd --channel=5.16/stable'
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ export DISK="$DISK"
|
|||||||
|
|
||||||
# install lxd snap and initialize it
|
# install lxd snap and initialize it
|
||||||
if ! snap list | grep -q lxd; then
|
if ! snap list | grep -q lxd; then
|
||||||
sudo snap install lxd --channel=latest/candidate
|
sudo snap install lxd --channel=5.16/stable
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
# run lxd init
|
# run lxd init
|
||||||
|
@ -35,7 +35,7 @@ sleep 10
|
|||||||
# install snap
|
# install snap
|
||||||
if ! snap list | grep -q lxd; then
|
if ! snap list | grep -q lxd; then
|
||||||
sudo snap install htop
|
sudo snap install htop
|
||||||
sudo snap install lxd --channel=latest/candidate
|
sudo snap install lxd --channel=5.16/stable
|
||||||
sleep 6
|
sleep 6
|
||||||
|
|
||||||
# We just do an auto initialization. All we are using is the LXD client inside the management environment.
|
# We just do an auto initialization. All we are using is the LXD client inside the management environment.
|
||||||
|
Loading…
Reference in New Issue
Block a user