Compare commits
No commits in common. "be3403c9353cba1e06fcdf01482049231b8aaaec" and "b0a821f29e205a9641ca29b4333c5a043fbb5d89" have entirely different histories.
be3403c935
...
b0a821f29e
@ -145,13 +145,11 @@ fi
|
||||
|
||||
# Check Cluster Quorum if in Cluster
|
||||
if [ -f /etc/pve/corosync.conf ]; then
|
||||
msg_info "Checking Proxmox cluster quorum status"
|
||||
if ! pvecm status | awk -F':' '/^Quorate/ { exit ($2 ~ /Yes/) ? 0 : 1 }'; then
|
||||
if ! pvecm status | grep -q "Quorate: Yes"; then
|
||||
printf "\e[?25h"
|
||||
msg_error "Cluster is not quorate. Start all nodes or configure quorum device (QDevice)."
|
||||
echo -e "\n${CROSS}${RD}Cluster is not quorate. Start all nodes or configure quorum device (QDevice).${CL}\n"
|
||||
exit 210
|
||||
fi
|
||||
msg_ok "Cluster is quorate"
|
||||
fi
|
||||
|
||||
# Update LXC template list
|
||||
|
Loading…
x
Reference in New Issue
Block a user