Add Wireguard support
This commit is contained in:
parent
b6e276bbea
commit
a658964bab
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue