From a0472c012945122d54e5d2ed902c945548ccf669 Mon Sep 17 00:00:00 2001 From: Adolfo Delorenzo Date: Fri, 29 Dec 2023 12:43:30 -0600 Subject: [PATCH] added creation of vpn container --- gen_random.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gen_random.sh b/gen_random.sh index 4e7b7c4..9e2b771 100755 --- a/gen_random.sh +++ b/gen_random.sh @@ -27,6 +27,7 @@ minecraft-std() { lxc --project $random network create vn-$random > /dev/null cat /root/default.profile | lxc --project $random profile edit default > /dev/null lxc launch --project $random -p default minecraft-server $random-minecraft-std --network vn-$random --config limits.cpu=2 --config limits.memory=2048MiB > /dev/null + lxc launch --project $random -p default wireguard-server $random-vpn-server --network vn-$random --config limits.cpu=1 --config limits.memory=1024MiB > /dev/null } minecraft-max() { @@ -35,6 +36,7 @@ minecraft-max() { lxc --project $random network create vn-$random > /dev/null cat /root/default.profile | lxc --project $random profile edit default > /dev/null lxc launch --project $random -p default minecraft-server $random-minecraft-max --network vn-$random --config limits.cpu=4 --config limits.memory=4096MiB > /dev/null + lxc launch --project $random -p default wireguard-server $random-vpn-server --network vn-$random --config limits.cpu=1 --config limits.memory=1024MiB > /dev/null } # Apex servers