Skip to content

Instantly share code, notes, and snippets.

@arnos-stuff
Created September 8, 2023 22:50
Show Gist options
  • Save arnos-stuff/024f91bff30de2e5413b48a95b9d9ffa to your computer and use it in GitHub Desktop.
Save arnos-stuff/024f91bff30de2e5413b48a95b9d9ffa to your computer and use it in GitHub Desktop.
Proxmox VE script to remove cluster and detach current node
#!/bin/bash
systemctl stop pve-cluster corosync
pmxcfs -l
rm /etc/corosync/*
rm /etc/pve/corosync.conf
killall pmxcfs
systemctl start pve-cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment