mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-12-12 19:06:13 +00:00
Add check for corosync (#3998)
Some checks failed
Auto Update .app-files / update-app-files (push) Has been cancelled
Create Changelog Pull Request / update-changelog-pull-request (push) Has been cancelled
Close Discussion on PR Merge / close-discussion (push) Has been cancelled
Frontend CI/CD / build (push) Has been cancelled
Frontend CI/CD / deploy (push) Has been cancelled
Crawl Versions from newreleases.io / crawl-versions (push) Has been cancelled
Some checks failed
Auto Update .app-files / update-app-files (push) Has been cancelled
Create Changelog Pull Request / update-changelog-pull-request (push) Has been cancelled
Close Discussion on PR Merge / close-discussion (push) Has been cancelled
Frontend CI/CD / build (push) Has been cancelled
Frontend CI/CD / deploy (push) Has been cancelled
Crawl Versions from newreleases.io / crawl-versions (push) Has been cancelled
This commit is contained in:
committed by
GitHub
parent
e3c2fba599
commit
8a4dfa0cc7
@@ -179,8 +179,20 @@ EOF
|
|||||||
msg_info "Disabling high availability"
|
msg_info "Disabling high availability"
|
||||||
systemctl disable -q --now pve-ha-lrm
|
systemctl disable -q --now pve-ha-lrm
|
||||||
systemctl disable -q --now pve-ha-crm
|
systemctl disable -q --now pve-ha-crm
|
||||||
systemctl disable -q --now corosync
|
|
||||||
msg_ok "Disabled high availability"
|
msg_ok "Disabled high availability"
|
||||||
|
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "COROSYNC" --menu "Disable Corosync for a Proxmox VE Cluster?" 10 58 2 \
|
||||||
|
"yes" " " \
|
||||||
|
"no" " " 3>&2 2>&1 1>&3)
|
||||||
|
case $CHOICE in
|
||||||
|
yes)
|
||||||
|
msg_info "Disabling Corosync"
|
||||||
|
systemctl disable -q --now corosync
|
||||||
|
msg_ok "Disabled Corosync"
|
||||||
|
;;
|
||||||
|
no)
|
||||||
|
msg_error "Selected no to Disabling Corosync"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
msg_error "Selected no to Disabling high availability"
|
msg_error "Selected no to Disabling high availability"
|
||||||
|
|||||||
Reference in New Issue
Block a user