whatever
This commit is contained in:
parent
a895d22d2e
commit
eec2b849c1
@ -31,5 +31,5 @@ curl --silent -X PUT --user "adelorenzo:dimi2014" https://couchdb.oe74.cloud/kk_
|
||||
# random_rev=`curl --silent -X GET https://adelorenzo:dimi2014@couchdb.oe74.cloud/kk_users/$random | jq -c '._rev' | sed 's/^.//' | sed 's/.$//'`
|
||||
curl --silent -X GET --user "adelorenzo:dimi2014" https://couchdb.oe74.cloud/kk_users/$random | jq '(.["vpn_port"] = '"$vpn_port"')' > $random-port.temp > /dev/null
|
||||
curl --silent -X PUT -H "Content-Type: application/json" https://adelorenzo:dimi2014@couchdb.oe74.cloud/kk_users/$random --data @${random}-port.temp
|
||||
rm $random-port.temp
|
||||
# rm $random-port.temp
|
||||
#curl --silent -H "Content-Type: text/x-yaml" -X PUT --data-binary @${random}-wg_server.yaml --user "adelorenzo:dimi2014" "https://couchdb.oe74.cloud/kk_users/${random}/${random}-wg_server.yaml?rev=$random_rev" > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user