From 5c2fd28b831f1339e9c0539775094402ec3501c8 Mon Sep 17 00:00:00 2001 From: milan Date: Thu, 15 Aug 2019 10:00:12 +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 73cb3ed..d652fbd 100755 --- a/setup-usl-mm +++ b/setup-usl-mm @@ -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