diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..398422d --- /dev/null +++ b/setup.sh @@ -0,0 +1,26 @@ +##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