#!/usr/bin/env bash # This has not been tested, use at your own risk. # Credit to @coolaj86 and Ryan Burnett: https://github.com/bnnanet/learn-colocation/issues/7 # This will need to be updated next time Debian upgrades because it specifies bookworm. sed -i 's:^deb :#deb :g' /etc/apt/sources.list.d/pve-enterprise.list sed -i 's:^deb :#deb :g' /etc/apt/sources.list.d/ceph.list wget http://download.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg echo '# pve-no-subscription repository provided by proxmox.com, not recommended for production use deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription' > /etc/apt/sources.list.d/pve-no-subscription.list echo '# ceph no-subscription repository provided by proxmox.com, not recommended for production use deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription' > /etc/apt/sources.list.d/ceph-no-subscription.list apt update pveupgrade apt install screen curl htop iotop speedtest-cli sysstat smartmontools reboot