Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save elcuervo/b7d7a63334a5aff8aac60286a65c45c6 to your computer and use it in GitHub Desktop.
Save elcuervo/b7d7a63334a5aff8aac60286a65c45c6 to your computer and use it in GitHub Desktop.
Configured Proxmox 8.1.3 community repositories on fresh install
#!/usr/bin/env bash
# https://pve.proxmox.com/wiki/Package_Repositories
# Tested on Proxmox 8.1.3
# https://gist.github.com/ngadmini/7f9df377999cc78c1b58e361d5425ac4
# Disable commercial and ceph
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/ceph.list
# Enable community
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
# Update and upgrade
apt update
pveupgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment