Обновить install-agent.sh
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# MTG Agent installer / updater
|
# ISCM Agent installer / updater
|
||||||
# Usage: bash install-agent.sh [AGENT_TOKEN]
|
# Usage: bash install-agent.sh [AGENT_TOKEN]
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
TOKEN="${1:-mtg-agent-secret}"
|
TOKEN="${1:-agent-secret}"
|
||||||
INSTALL_DIR="/opt/mtg-agent"
|
INSTALL_DIR="/opt/iscm-agent"
|
||||||
RAW="https://raw.githubusercontent.com/MaksimTMB/mtg-adminpanel/dev/mtg-agent"
|
RAW="https://git.ivacom.su/public/ISCM_agent/raw/branch/main"
|
||||||
|
|
||||||
echo "==> MTG Agent install/update..."
|
echo "==> Iscm Agent install/update..."
|
||||||
mkdir -p "$INSTALL_DIR"
|
mkdir -p "$INSTALL_DIR"
|
||||||
cd "$INSTALL_DIR"
|
cd "$INSTALL_DIR"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user