update
This commit is contained in:
10
defaults.inc
10
defaults.inc
@@ -3,7 +3,7 @@
|
||||
|
||||
action="$1"
|
||||
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)
|
||||
|
||||
@@ -13,3 +13,11 @@ while redirect_url=$( curl -I -s -S -f -w "%{redirect_url}\\n" -o /dev/null "${u
|
||||
done
|
||||
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
|
||||
|
||||
|
||||
@@ -185,11 +185,11 @@ DOWNLOAD_VIRTIO() {
|
||||
}
|
||||
|
||||
DETECT_CPU(){
|
||||
if [ ! -f /etc/apt/sources.list.d/gyptazy.list ]; then
|
||||
curl https://git.gyptazy.com/api/packages/gyptazy/debian/repository.key -o /etc/apt/keyrings/gyptazy.asc
|
||||
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
|
||||
apt update
|
||||
fi
|
||||
if [ ! -f /etc/apt/sources.list.d/proxlb.list ]; then
|
||||
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
|
||||
apt -y install proxclmc
|
||||
|
||||
echo
|
||||
@@ -251,7 +251,7 @@ MAIN_MENU() {
|
||||
do
|
||||
clear
|
||||
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 "Hostname: ${idsCL[Cyan]}$(hostname -s)${idsCL[Default]}"
|
||||
echo -e "IP Address: ${idsCL[Cyan]}${RNIP}${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user