From a658964bab0506e500bd93ca7dd11d0231d1307c Mon Sep 17 00:00:00 2001 From: milan Date: Wed, 18 Sep 2019 09:51:38 +0200 Subject: [PATCH] Add Wireguard support --- setup-usl-mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup-usl-mm b/setup-usl-mm index 0e8f6b5..8b6e415 100755 --- a/setup-usl-mm +++ b/setup-usl-mm @@ -184,6 +184,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 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" lxc profile set default limits.processes 1500