Migrate rp0.internal.staging.swh.network to bullseye
That's the reverse proxy (where no swh packages are installed [1]) that allows staging webapp, deposit, ... access.
- [1] We do not address servers with swh packages yet.
Plan:
-
testing migration in vagrant
-
actual migration [2]
-
Update inventory with correct distribution
-
Update Vagrantfile with correct debian box
-
[2]
task=#3799
puppet agent --disable "$task: dist-upgrade to bullseye"
cd /etc
sed -i -e 's/buster/bullseye/;s,bullseye/updates,bullseye-security,' /etc/apt/sources.list.d/*
git status
git diff
grep bullseye-security /etc/apt/sources.list.d/debian-security.list
git add .
git commit -m "$task: Migrate sources.list to bullseye"
apt update
CMD="apt -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold"
export DEBIAN_FRONTEND=noninteractive
$CMD upgrade -y
$CMD dist-upgrade -y
reboot
apt autoremove -y
puppet agent --enable && puppet agent --test
Migrated from T3799 (view on Phabricator)
Edited by Phabricator Migration user