diff --git a/public_html/agent/install.sh b/public_html/agent/install.sh index aa185bc..edb6161 100644 --- a/public_html/agent/install.sh +++ b/public_html/agent/install.sh @@ -9,8 +9,8 @@ set -e HOSTNAME_ARG="${1:-$(hostname -s)}" AGENT_TYPE="${2:-linux}" -JARVIS_URL="https://165.22.1.228" -JARVIS_HOST="jarvis.orbishosting.com" +JARVIS_URL="http://10.48.200.211" +JARVIS_HOST="" INSTALL_DIR="/opt/jarvis-agent" CONFIG_DIR="/etc/jarvis-agent" STATE_DIR="/var/lib/jarvis-agent" @@ -38,7 +38,7 @@ mkdir -p "$INSTALL_DIR" "$CONFIG_DIR" "$STATE_DIR" # ── Download agent ───────────────────────────────────────────────────────────── echo "Downloading agent..." -curl -sk -H "Host: $JARVIS_HOST" "$JARVIS_URL/agent/jarvis-agent.py" -o "$INSTALL_DIR/jarvis-agent.py" +curl -sk "$JARVIS_URL/agent/jarvis-agent.py" -o "$INSTALL_DIR/jarvis-agent.py" cp "$INSTALL_DIR/jarvis-agent.py" /usr/local/bin/jarvis-agent.py chmod +x "$INSTALL_DIR/jarvis-agent.py" /usr/local/bin/jarvis-agent.py