===== mount proxmox virtual disk =====
mount -t vfat -o loop,offset=$((8192 * 512 )) imgfile.img /mnt/disk1
===== dd through ssh =====
ssh host "dd if=/dev/mapper/pve-vm--106--disk--0" | dd of=/dev/mapper/pve-vm--106--disk--0 status=progress
or
dd if=/dev/mapper/pve-vm--106--disk--0 bs=4MiB conv=sync status=progress | ssh host ' dd of=/dev/mapper/pve-vm--106--disk--0 bs=4MiB'
===== disable portmap port 111 =====
systemctl stop rpcbind
systemctl stop rpcbind.socket
systemctl disable rpcbind
systemctl disable rpcbind.socket
===== repositories =====
old <8
/etc/apt/sources.list.d/pve-enterprise.list
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
new 8
/etc/apt/sources.list.d/pve-enterprise.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list.d/ceph.list
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
===== remove nag screen =====
sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
===== links to sort =====
https://github.com/Jamesits/pve-fake-subscription
https://github.com/foundObjects/pve-nag-buster/
https://tteck.github.io/Proxmox/
https://helper-scripts.com/