Code:
export LC_ALL="en_US.UTF-8"
rm -f /etc/apt/sources.list.d/pve-enterprise.list
apt-get update && apt-get full-upgrade -y
sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list
echo "deb http://download.proxmox.com/debian/ceph-octopus bullseye main" > /etc/apt/sources.list.d/ceph.list
apt-get update && apt-get full-upgrade -y
sed -i 's/octopus/pacific/' /etc/apt/sources.list.d/ceph.list && apt-get update && apt-get full-upgrade -y