Last active
April 5, 2025 13:46
-
-
Save airtonzanon/ec77d2c3052151cf57846a8f0e731c72 to your computer and use it in GitHub Desktop.
Remove node from proxmox cluster without having to do any reinstallation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "\n #####################" | |
echo "Remove node from Proxmox Cluster" | |
echo "This is the same commands that we have in the docs:" | |
echo "https://pve.proxmox.com/pve-docs/pve-admin-guide.html#pvecm_separate_node_without_reinstall \n" | |
systemctl stop pve-cluster | |
systemctl stop corosync | |
pmxcfs -l | |
rm /etc/pve/corosync.conf | |
rm -r /etc/corosync/* | |
killall pmxcfs | |
systemctl start pve-cluster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment