Update deploy-proxmox-keepalived.sh
This commit is contained in:
@@ -21,7 +21,7 @@ set -Eeuo pipefail
|
|||||||
# Run this from any healthy, quorate Proxmox cluster node as root.
|
# Run this from any healthy, quorate Proxmox cluster node as root.
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
SCRIPT_VERSION="1.5.0"
|
SCRIPT_VERSION="1.5.1"
|
||||||
VIP_CIDR=""
|
VIP_CIDR=""
|
||||||
INTERFACE=""
|
INTERFACE=""
|
||||||
PRIORITY_BASE=200
|
PRIORITY_BASE=200
|
||||||
@@ -87,7 +87,7 @@ command -v python3 >/dev/null 2>&1 || die "python3 is required."
|
|||||||
command -v ip >/dev/null 2>&1 || die "iproute2 is required."
|
command -v ip >/dev/null 2>&1 || die "iproute2 is required."
|
||||||
|
|
||||||
printf '\nProxmox Keepalived Cluster Deployment v%s\n' "$SCRIPT_VERSION"
|
printf '\nProxmox Keepalived Cluster Deployment v%s\n' "$SCRIPT_VERSION"
|
||||||
printf '------------------------------------------------\n'
|
printf '%s\n' '------------------------------------------------'
|
||||||
|
|
||||||
[[ "$PRIORITY_BASE" =~ ^[0-9]+$ ]] || die "Priority base must be numeric."
|
[[ "$PRIORITY_BASE" =~ ^[0-9]+$ ]] || die "Priority base must be numeric."
|
||||||
[[ "$PRIORITY_STEP" =~ ^[0-9]+$ ]] || die "Priority step must be numeric."
|
[[ "$PRIORITY_STEP" =~ ^[0-9]+$ ]] || die "Priority step must be numeric."
|
||||||
|
|||||||
Reference in New Issue
Block a user