I followed these instructions to get swap working in my setup.
https://forum.proxmox.com/threads/how-to-run-pve-7-on-a-raspberry-pi.95658/
As I already had a running setup, I picked up from here:
apt purge dphys-swapfile -y
Everything went fine, but after the reboot, I ran this command...