Mise à jour de debian buster vers bullseye

Pour debian

apt update && apt upgrade -y && apt dist-upgrade -y
cat <<EOF> /etc/apt/sources.list
deb http://deb.debian.org/debian bullseye main
deb http://deb.debian.org/debian-security buster/updates main
deb http://deb.debian.org/debian buster-updates main
EOF
sed -i 's/buster/bullseye/' /etc/apt/sources.list.d/*
apt update && apt upgrade -y && apt dist-upgrade -y

Pour proxmox

apt update && apt upgrade -y && apt dist-upgrade -y

Controle avant migration

pve6to7 --full

Pour conserver l'adresse mac sur les serveurs qui nécessite de la conserver

auto vmbr0
iface vmbr0 inet static
address 192.168.X.Y/24
hwaddress aa:bb:cc:12:34

Modification du dépot Ceph

echo deb http://download.proxmox.com/debian/ceph-pacific bullseye main > /etc/apt/sources.list.d/ceph.list
cat <<EOF> /etc/apt/sources.list
deb http://deb.debian.org/debian bullseye main
deb http://deb.debian.org/debian-security buster/updates main
deb http://deb.debian.org/debian buster-updates main
EOF
sed -i 's/buster/bullseye/' /etc/apt/sources.list.d/*
apt update && apt upgrade -y && apt dist-upgrade -y