added creation of vpn container
This commit is contained in:
parent
c8af9abc13
commit
a0472c0129
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user