Files
TA-ProxMenu/defaults.inc
T
David Schroeder 808546846c update
2026-07-25 18:35:35 -05:00

37 lines
1.1 KiB
Bash
Executable File

#!/usr/bin/env bash
# TA-Proxmenu - Proxmox Setup Scripts for TA Use
action="${1:-}"
FOLDER='/opt/idssys/ta-proxmenu'
VERS='2026.7.25-35'
noupdate=' '
default_interface="$(ip route 2>/dev/null | awk '/^default/ { print $5; exit }')"
if [[ -n "$default_interface" ]]; then
RNIP="$(ip -4 -o addr show dev "$default_interface" scope global 2>/dev/null | awk '{ sub(/\/.*/, "", $4); print $4; exit }')"
else
RNIP=""
fi
VIRTIO_STABLE_URL="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso"
TAPM_BROKER_URL='https://tapm.scity.us'
S1_BROKER_PACKAGE='sentinelone-linux'
S1_PACKAGE='tapm-sentinelone.deb'
if [[ -d /mnt/pve/PVE-Shared-Storage/template/iso ]]; then
DLDIR='/mnt/pve/PVE-Shared-Storage/template/iso'
else
DLDIR='/var/lib/vz/template/iso'
fi
# if [ -f /etc/apt/sources.list.d/gyptazy.list ]; then
# rm -f /etc/apt/sources.list.d/gyptazy.list /etc/apt/keyrings/gyptazy.asc
# echo "deb https://repo.gyptazy.com/stable /" > /etc/apt/sources.list.d/proxlb.list
# wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg
# apt-get update
# fi