Skip to content

Instantly share code, notes, and snippets.

@Alex4386
Last active September 27, 2023 04:42
Show Gist options
  • Save Alex4386/337f959ba811be89612a312e9d0ba090 to your computer and use it in GitHub Desktop.
Save Alex4386/337f959ba811be89612a312e9d0ba090 to your computer and use it in GitHub Desktop.
Automatically switch to PVE Community
#!/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
@Alex4386
Copy link
Author

Alex4386 commented Sep 25, 2023

Use the following command to run on your shell:

curl https://gist.githubusercontent.com/Alex4386/337f959ba811be89612a312e9d0ba090/raw/enable-community.sh | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment