Compare commits

..

2 Commits

Author SHA1 Message Date
CanbiZ
9916e0aff9 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2025-06-17 09:43:19 +02:00
CanbiZ
33be8de5bd Update create_lxc.sh 2025-06-17 09:43:09 +02:00

View File

@ -143,14 +143,14 @@ if [ "$STORAGE_FREE" -lt "$REQUIRED_KB" ]; then
exit 214 exit 214
fi fi
# Check Cluster Quorum if in Cluster # # Check Cluster Quorum if in Cluster
if [ -f /etc/pve/corosync.conf ]; then # if [ -f /etc/pve/corosync.conf ]; then
if ! pvecm status | grep -q "Quorate: Yes"; then # if ! pvecm status | grep -q "Quorate: Yes"; then
printf "\e[?25h" # printf "\e[?25h"
echo -e "\n${CROSS}${RD}Cluster is not quorate. Start all nodes or configure quorum device (QDevice).${CL}\n" # echo -e "\n${CROSS}${RD}Cluster is not quorate. Start all nodes or configure quorum device (QDevice).${CL}\n"
exit 210 # exit 210
fi # fi
fi # fi
# Update LXC template list # Update LXC template list
$STD msg_info "Updating LXC Template List" $STD msg_info "Updating LXC Template List"