updated ports.py path
This commit is contained in:
parent
f34df4ba6b
commit
a8d34b45f3
@ -25,7 +25,7 @@ minecraft-max() {
|
|||||||
$1
|
$1
|
||||||
|
|
||||||
# Setup VPN
|
# Setup VPN
|
||||||
vpn_port=`python3 /opt/thekube/ports.py`
|
vpn_port=`python3 ports.py`
|
||||||
lxc config device add $random-vpn-server udp$vpn_port proxy listen=udp:0.0.0.0:$vpn_port connect=udp:127.0.0.1:51820
|
lxc config device add $random-vpn-server udp$vpn_port proxy listen=udp:0.0.0.0:$vpn_port connect=udp:127.0.0.1:51820
|
||||||
curl --silent -X PUT --user "adelorenzo:dimi2014" https://couchdb.oe74.cloud/kk_users/${random}/${random} -d "{"_id":"$random"}"
|
curl --silent -X PUT --user "adelorenzo:dimi2014" https://couchdb.oe74.cloud/kk_users/${random}/${random} -d "{"_id":"$random"}"
|
||||||
random_rev=`curl --silent -X GET https://adelorenzo:dimi2014@couchdb.oe74.cloud/kk_users/$random | jq -c '._rev' | sed 's/^.//' | sed 's/.$//'`
|
random_rev=`curl --silent -X GET https://adelorenzo:dimi2014@couchdb.oe74.cloud/kk_users/$random | jq -c '._rev' | sed 's/^.//' | sed 's/.$//'`
|
||||||
|
Loading…
Reference in New Issue
Block a user