Proxmox
Post-install
After installation, I run this script to correct PVE sources and disable subscription nag.
PVE commands
After breaking and reinstalling Proxmox multiple times, I've collected the below scripts.
Remove a node from cluster
This script removes a node from the cluster:
systemctl stop pve-cluster corosync
pmxcfs -l
rm -rf /etc/corosync/*
rm /etc/pve/corosync.conf
killall pmxcfs
Start it up as a standalone node:
systemctl start pve-cluster