Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality for multiple repos - fix for 8.0 #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no kernel 8.x yet. It's proxmox version 8 but kernel 6.5


### How does it work?

Expand Down
17 changes: 12 additions & 5 deletions pve-nag-buster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"