Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- Config, docs, scripts, and backup manifests - Submodule refs unchanged (m = modified content in submodules) Made-with: Cursor
26 lines
694 B
Bash
Executable File
26 lines
694 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Run automation with manual Add button click
|
|
# This script will navigate to the page and wait for you to click Add
|
|
|
|
cd /home/intlc/projects/proxmox
|
|
|
|
echo "🚀 Starting UDM Pro Static Route Automation"
|
|
echo "=========================================="
|
|
echo ""
|
|
echo "The script will:"
|
|
echo "1. Log in to UDM Pro"
|
|
echo "2. Navigate to Static Routes page"
|
|
echo "3. Wait for you to manually click the Add button"
|
|
echo "4. Automatically fill the form and save"
|
|
echo ""
|
|
echo "Press Enter to continue..."
|
|
read
|
|
|
|
UNIFI_USERNAME=unifi_api \
|
|
UNIFI_PASSWORD='L@kers2010$$' \
|
|
HEADLESS=false \
|
|
PAUSE_MODE=true \
|
|
node scripts/unifi/configure-static-route-playwright.js
|