Proxy Setup Init
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
CTID=768165834
|
||||
|
||||
ADMIN_EMAIL="metzw@metz.tech"
|
||||
ADMIN_PASS="#Start!123"
|
||||
|
||||
pct exec "$CTID" -- bash -lc '
|
||||
apt-get update -y >/dev/null
|
||||
apt-get install -y curl >/dev/null
|
||||
curl -sS -X POST "http://127.0.0.1:5678/rest/owner/setup" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"email\":\"'"$ADMIN_EMAIL"'\",\"firstName\":\"Owner\",\"lastName\":\"Admin\",\"password\":\"'"$ADMIN_PASS"'\"}"
|
||||
echo
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user