15 lines
394 B
Bash
Executable File
15 lines
394 B
Bash
Executable File
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
|
|
'
|
|
|