Last active
November 14, 2025 09:03
-
Star
(185)
You must be signed in to star a gist -
Fork
(38)
You must be signed in to fork a gist
-
-
Save whiskerz007/53c6aa5d624154bacbbc54880e1e3b2a to your computer and use it in GitHub Desktop.
How to setup a community version of Proxmox VE 5.x-6.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Disable Commercial Repo | |
| sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list | |
| apt-get update | |
| # Add PVE Community Repo | |
| echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list | |
| apt-get update | |
| # Remove nag | |
| echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script | |
| apt --reinstall install proxmox-widget-toolkit |
On Proxmox 8.0 need to add this after line 2 in gistfile1.txt above:
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/ceph.list
Just wanted to stop and say thanks!
Latest instructions for Proxmox 9 :)
Step 1: Update the Ceph repository from enterprise to no-subscription
sed -i \
-e 's|https://enterprise.proxmox.com/debian/ceph-squid|http://download.proxmox.com/debian/ceph-squid|g' \
-e 's/Components: enterprise/Components: no-subscription/g' \
/etc/apt/sources.list.d/ceph.sourcesStep 2: Remove the PVE enterprise repository file
rm /etc/apt/sources.list.d/pve-enterprise.sourcesStep 3: Create the PVE no-subscription repository file
cat > /etc/apt/sources.list.d/proxmox.sources << 'EOF'
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOFStep 4: Update the package cache
apt update
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what hell going on ?
BTW, there are many way to getting rid nag message. I've been writing some of them, in here
Regards