Last active
September 27, 2023 04:42
-
-
Save Alex4386/337f959ba811be89612a312e9d0ba090 to your computer and use it in GitHub Desktop.
Automatically switch to PVE Community
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
#!/bin/bash | |
source /etc/os-release | |
test -z "$VERSION_CODENAME" && echo "Unable to detect VERSION_CODENAME, Exiting!" && exit 1 | |
echo "#deb https://enterprise.proxmox.com/debian/pve $VERSION_CODENAME pve-enterprise" > /etc/apt/sources.list.d/pve-enterprise.list | |
echo "deb http://download.proxmox.com/debian/pve $VERSION_CODENAME pve-no-subscription" > /etc/apt/sources.list.d/pve-community.list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the following command to run on your shell:
curl https://gist.githubusercontent.com/Alex4386/337f959ba811be89612a312e9d0ba090/raw/enable-community.sh | bash