Files
customer-installer/setupowner.sh
2026-01-18 17:05:15 +01:00

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
'