This commit is contained in:
2026-03-13 19:32:06 -05:00
parent 623b212ebe
commit 3fe752a358
2 changed files with 15 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
action="$1" action="$1"
FOLDER='/opt/idssys/ta-proxmenu' FOLDER='/opt/idssys/ta-proxmenu'
VERS='2026.3.11-1' VERS='2026.3.13-1'
RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
@@ -13,3 +13,11 @@ while redirect_url=$( curl -I -s -S -f -w "%{redirect_url}\\n" -o /dev/null "${u
done done
VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/} VIRTIO_FILE=${VIRTIO_DOWNLOAD_URL##*/}
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

View File

@@ -185,11 +185,11 @@ DOWNLOAD_VIRTIO() {
} }
DETECT_CPU(){ DETECT_CPU(){
if [ ! -f /etc/apt/sources.list.d/gyptazy.list ]; then if [ ! -f /etc/apt/sources.list.d/proxlb.list ]; then
curl https://git.gyptazy.com/api/packages/gyptazy/debian/repository.key -o /etc/apt/keyrings/gyptazy.asc echo "deb https://repo.gyptazy.com/stable /" > /etc/apt/sources.list.d/proxlb.list
echo "deb [signed-by=/etc/apt/keyrings/gyptazy.asc] https://packages.gyptazy.com/api/packages/gyptazy/debian trixie main" | sudo tee -a /etc/apt/sources.list.d/gyptazy.list wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg
apt update apt-get update
fi fi
apt -y install proxclmc apt -y install proxclmc
echo echo
@@ -251,7 +251,7 @@ MAIN_MENU() {
do do
clear clear
echo echo
echo -e " ${idsCL[Green]}TA-Proxmenu - Proxmox Setup Scripts${idsCL[Default]} ${idsCL[Default]}${VERS}" echo -e " ${idsCL[Green]}TA-Proxmenu - Proxmox Setup Scripts${idsCL[Default]} ${idsCL[Default]}${VERS}"
echo -e "${idsCL[Green]}---------------------------------------------------------------------------${idsCL[Default]}" echo -e "${idsCL[Green]}---------------------------------------------------------------------------${idsCL[Default]}"
echo -e "Hostname: ${idsCL[Cyan]}$(hostname -s)${idsCL[Default]}" echo -e "Hostname: ${idsCL[Cyan]}$(hostname -s)${idsCL[Default]}"
echo -e "IP Address: ${idsCL[Cyan]}${RNIP}${idsCL[Default]}" echo -e "IP Address: ${idsCL[Cyan]}${RNIP}${idsCL[Default]}"