From 17a602dc54358adc70bdd33c3e52506897f4e1ff Mon Sep 17 00:00:00 2001 From: Don Locke Date: Sat, 5 Apr 2025 18:32:16 -0600 Subject: [PATCH] Remove Update script --- frontend/public/json/allstarlink.json | 2 +- vm/allstarlink-vm.sh | 7 ------- vm/update/allstarlink.sh | 20 -------------------- 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 vm/update/allstarlink.sh diff --git a/frontend/public/json/allstarlink.json b/frontend/public/json/allstarlink.json index b16e02c..c5d336e 100644 --- a/frontend/public/json/allstarlink.json +++ b/frontend/public/json/allstarlink.json @@ -6,7 +6,7 @@ ], "date_created": "2025-3-30", "type": "vm", - "updateable": true, + "updateable": false, "privileged": false, "interface_port": null, "documentation": "https://allstarlink.github.io/", diff --git a/vm/allstarlink-vm.sh b/vm/allstarlink-vm.sh index b74cf05..99d037e 100644 --- a/vm/allstarlink-vm.sh +++ b/vm/allstarlink-vm.sh @@ -442,13 +442,6 @@ if (whiptail --backtitle "Proxmox VE Helper Scripts" --title "SETTINGS" --yesno msg_ok "Installed Allmon3" fi -msg_info "Installing Update Script" -virt-customize -q -a "${FILE}" \ - --touch /usr/bin/update \ - --write /usr/bin/update:"bash -c \"\$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/vm/update/allstarlink.sh)\"" \ - --chmod 755:/usr/bin/update >/dev/null -msg_ok "Installed Update Script" - msg_info "Creating a AllStarLink VM" qm create $VMID -agent 1${MACHINE} -tablet 0 -localtime 1 -bios ovmf${CPU_TYPE} -cores $CORE_COUNT -memory $RAM_SIZE \ -name $HN -tags community-script,debian12,allstarlink -net0 virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU -onboot 1 -ostype l26 -scsihw virtio-scsi-pci diff --git a/vm/update/allstarlink.sh b/vm/update/allstarlink.sh deleted file mode 100644 index dd369a4..0000000 --- a/vm/update/allstarlink.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: Don Locke (DonLocke) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/AllStarLink - -APP="AllStarLink" - -header_info - -if [[ ! -d /etc/asterisk ]]; then -msg_error "No ${APP} Installation Found!" -exit -fi -msg_info "Updating $APP VM" -$STD apt-get update -$STD DEBIAN_FRONTEND=noninteractive apt-get -y upgrade -msg_ok "Updated $APP VM" -exit