diff --git a/README.md b/README.md index b3707a4..3ff1323 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ means. High quality open source software like Proxmox needs our support! ### News: -Last updated for: pve-manager/6.4-4/337d6701 (running kernel: 5.4.106-1-pve) +Last updated for: pve-manager/8.0.4/d258a813cfa6b390 (running kernel: 8.0.4) ### How does it work? diff --git a/pve-nag-buster.sh b/pve-nag-buster.sh index f166543..9ab8232 100755 --- a/pve-nag-buster.sh +++ b/pve-nag-buster.sh @@ -32,10 +32,17 @@ if grep -qs "$NAGTOKEN" "$NAGFILE" > /dev/null 2>&1; then fi # disable paid repo list +disable_repo() { + local REPO_BASE="$1" -PAID_BASE="/etc/apt/sources.list.d/pve-enterprise" + if [ -f "$REPO_BASE.list" ]; then + echo "Disabling $REPO_BASE repo list ..." + mv -f "$REPO_BASE.list" "$REPO_BASE.disabled" + fi +} -if [ -f "$PAID_BASE.list" ]; then - echo "$SCRIPT: Disabling PVE paid repo list ..." - mv -f "$PAID_BASE.list" "$PAID_BASE.disabled" -fi +# Disable pve-enterprise repo +disable_repo "/etc/apt/sources.list.d/pve-enterprise" + +# Disable ceph repo +disable_repo "/etc/apt/sources.list.d/ceph"