Add Wireguard support

This commit is contained in:
Milan Meduna 2019-09-18 09:51:38 +02:00
parent b6e276bbea
commit a658964bab
1 changed files with 6 additions and 0 deletions

View File

@ -184,6 +184,12 @@ echo "hardstatus string \"%{=b kw} %?%-Lw%?%{=br kw}[%n %t]%{=b kw}%?%+Lw%? %= %
echo "Install utilities" echo "Install utilities"
apt install -y mc htop screen zfsnap smartmontools pv apt install -y mc htop screen zfsnap smartmontools pv
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" echo "Set max processes to 1500 in default profile in LXD"
lxc profile set default limits.processes 1500 lxc profile set default limits.processes 1500