|
|
|
@ -48,6 +48,9 @@ for i in $(cat /root/onstart | grep "firewall")
|
|
|
|
|
do echo "$i" >> /root/onstart-new
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo "cryptdisks_start cryptswap1" >> /root/onstart-new
|
|
|
|
|
echo "swapon -a" >> /root/onstart-new
|
|
|
|
|
|
|
|
|
|
chmod +x /root/onstart-new
|
|
|
|
|
|
|
|
|
|
mv /root/onstart /root/onstart-old
|
|
|
|
@ -58,5 +61,7 @@ zfs set mountpoint=/var/snap/lxd/common/lxd crypt/lxd/dir
|
|
|
|
|
snap switch --channel 4.16/stable lxd
|
|
|
|
|
snap refresh
|
|
|
|
|
|
|
|
|
|
apt install uptrack -y
|
|
|
|
|
|
|
|
|
|
read -p "Press any key for reboot"
|
|
|
|
|
reboot
|
|
|
|
|