upgrade_lxd_version

This commit is contained in:
Milan Meduna 2020-12-11 14:04:56 +01:00
parent ea0c545a4c
commit bd0862a9d7
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ export DEBIAN_FRONTEND=noninteractive
apt update
apt dist-upgrade -y -o Dpkg::Options::="--force-confold"
apt install rpl -y
snap install --channel 4.0/stable lxd
snap install --channel 4.5/stable lxd
if [ $current_release == bionic ]; then
lxd.migrate -yes
fi
@ -55,7 +55,7 @@ mv /root/onstart-new /root/onstart
zfs set mountpoint=/var/snap/lxd/common/lxd crypt/lxd/dir
snap switch --channel 4.0/stable lxd
snap switch --channel 4.5/stable lxd
snap refresh
read -p "Press any key for reboot"