From 15e0b101aedf07b0fc9bc35f7ac17ff89ba03a31 Mon Sep 17 00:00:00 2001 From: 57_Wolve <57_wolve@private.email> Date: Mon, 19 Jan 2026 17:26:27 +0000 Subject: [PATCH] Update multiplane.sh --- multiplane.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multiplane.sh b/multiplane.sh index 5f3b27d..c1e0a7e 100644 --- a/multiplane.sh +++ b/multiplane.sh @@ -129,7 +129,7 @@ for i in 1 2 3; do done # Controller node entry (3 nodes required) -gum style --border double --padding "1 2" --border-foreground 212 "Worker Node Configuration (2 Required)"; sleep 3 +gum style --border double --padding "1 2" --border-foreground 212 "Worker Node Configuration (3 Required)"; sleep 3 # Add worker node loop count=0 @@ -147,7 +147,7 @@ while [ $count -lt 250 ]; do yq -i -oy ".nodes.worker.$count = {\"mac\": \"$mac\", \"ip\": \"$ip\"}" "$CONFIG_FILE" # Ask to continue - if [ $count -lt 250 ]; then + if [ $count -gt 3 ] && [ $count -le 250 ]; then clear; gum confirm "Add another worker node?" || break fi done