Created
June 5, 2023 12:21
-
-
Save tsharley/f94439794fd8f96eb669d23cb30871ce to your computer and use it in GitHub Desktop.
Destroy Proxmox Cluster
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
| #!/usr/bin/env bash | |
| # Executing the following will remove the cluster status/configuration from a | |
| # single-node cluster. Useful if the cluster was initialized unintentionally | |
| # and Corosync's restrictions are preventing further changes. Root required. | |
| systemctl stop pve-cluster corosync | |
| pmxcfs -l | |
| rm -r /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