Compare commits
No commits in common. "9916e0aff9b0198f2cd893eed69c5081766729a6" and "eff6b0d7cfa732977aa8ef4a7992114bf2f639bf" have entirely different histories.
9916e0aff9
...
eff6b0d7cf
@ -143,14 +143,14 @@ if [ "$STORAGE_FREE" -lt "$REQUIRED_KB" ]; then
|
||||
exit 214
|
||||
fi
|
||||
|
||||
# # Check Cluster Quorum if in Cluster
|
||||
# if [ -f /etc/pve/corosync.conf ]; then
|
||||
# if ! pvecm status | grep -q "Quorate: Yes"; then
|
||||
# printf "\e[?25h"
|
||||
# echo -e "\n${CROSS}${RD}Cluster is not quorate. Start all nodes or configure quorum device (QDevice).${CL}\n"
|
||||
# exit 210
|
||||
# fi
|
||||
# fi
|
||||
# Check Cluster Quorum if in Cluster
|
||||
if [ -f /etc/pve/corosync.conf ]; then
|
||||
if ! pvecm status | grep -q "Quorate: Yes"; then
|
||||
printf "\e[?25h"
|
||||
echo -e "\n${CROSS}${RD}Cluster is not quorate. Start all nodes or configure quorum device (QDevice).${CL}\n"
|
||||
exit 210
|
||||
fi
|
||||
fi
|
||||
|
||||
# Update LXC template list
|
||||
$STD msg_info "Updating LXC Template List"
|
||||
|
Loading…
x
Reference in New Issue
Block a user