From d48ff00e96a35d0dc3bd435ed7e9cc2974c7ed4b Mon Sep 17 00:00:00 2001 From: Adolfo Delorenzo Date: Wed, 20 Dec 2023 12:08:35 -0600 Subject: [PATCH] updates --- gen_random.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gen_random.sh b/gen_random.sh index cfff83c..10b2b14 100755 --- a/gen_random.sh +++ b/gen_random.sh @@ -33,3 +33,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 -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 rm ${random}-wg_server.yaml + +$1 \ No newline at end of file