add_wireguard_support

This commit is contained in:
Milan Meduna 2019-08-15 10:00:12 +02:00
parent 018ebf7563
commit 5c2fd28b83
1 changed files with 6 additions and 0 deletions

View File

@ -179,6 +179,12 @@ echo "hardstatus string \"%{=b kw} %?%-Lw%?%{=br kw}[%n %t]%{=b kw}%?%+Lw%? %= %
echo "Install utilities"
apt install -y mc htop screen zfsnap smartmontools
echo "Setting-up wireguard"
add-apt-repository ppa:wireguard/wireguard -y
apt update
apt install wireguard -y
lxc profile set default linux.kernel_modules wireguard
echo "Set max processes to 1500 in default profile in LXD"
lxc profile set default limits.processes 1500