lxd_version_upgrade

This commit is contained in:
root 2021-07-22 15:46:16 +02:00
parent 1607afb78b
commit 237fe1eeff
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.5/stable lxd
snap install --channel 4.16/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.5/stable lxd
snap switch --channel 4.16/stable lxd
snap refresh
read -p "Press any key for reboot"