lxd_version_upgrade
This commit is contained in:
parent
1607afb78b
commit
237fe1eeff
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ export DEBIAN_FRONTEND=noninteractive
|
||||||
apt update
|
apt update
|
||||||
apt dist-upgrade -y -o Dpkg::Options::="--force-confold"
|
apt dist-upgrade -y -o Dpkg::Options::="--force-confold"
|
||||||
apt install rpl -y
|
apt install rpl -y
|
||||||
snap install --channel 4.5/stable lxd
|
snap install --channel 4.16/stable lxd
|
||||||
if [ $current_release == bionic ]; then
|
if [ $current_release == bionic ]; then
|
||||||
lxd.migrate -yes
|
lxd.migrate -yes
|
||||||
fi
|
fi
|
||||||
|
@ -55,7 +55,7 @@ mv /root/onstart-new /root/onstart
|
||||||
|
|
||||||
zfs set mountpoint=/var/snap/lxd/common/lxd crypt/lxd/dir
|
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
|
snap refresh
|
||||||
|
|
||||||
read -p "Press any key for reboot"
|
read -p "Press any key for reboot"
|
||||||
|
|
Loading…
Reference in a new issue