27 lines
716 B
Bash
27 lines
716 B
Bash
##Disabling the enterprise repos
|
|
|
|
sed -i '/^Types:/a Enabled: no' /etc/apt/sources.list.d/pve-enterprise.sources
|
|
sed -i '/^Types:/a Enabled: no' /etc/apt/sources.list.d/ceph.sources
|
|
|
|
##Create the no-subscription repo
|
|
|
|
cat > /etc/apt/sources.list.d/pve-no-subscription.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
|
|
EOF
|
|
|
|
cat > /etc/apt/sources.list.d/ceph-no-subscription.sources << 'EOF'
|
|
Types: deb
|
|
URIs: http://download.proxmox.com/debian/ceph-squid
|
|
Suites: trixie
|
|
Components: no-subscription
|
|
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
|
|
EOF
|
|
|
|
|
|
apt update
|
|
apt upgrade
|