From 067c97f0a5548b5235bf65744d503daf2077b002 Mon Sep 17 00:00:00 2001 From: 57_Wolve <57_wolve@private.email> Date: Wed, 14 Jan 2026 22:22:11 +0000 Subject: [PATCH] Update multiplane.sh --- multiplane.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/multiplane.sh b/multiplane.sh index e105553..7099bf3 100644 --- a/multiplane.sh +++ b/multiplane.sh @@ -32,5 +32,6 @@ fatal() { exit 1 } -gum input --placeholder "Cluster Domain:" --prompt "* " --width 80 --value "cluster.local" > yq -i '.k0s.hostname = "$1"' config.toml -gum input --placeholder "Node IP Range:" --prompt "* " --width 80 --value "10.1.0.0/24" > yq -i '.k0s.private_ip_range = "$1"' config.toml \ No newline at end of file + +yq -i ".k0s.hostname = \"$(gum input --placeholder "Cluster Domain:" --prompt "* " --width 80 --value "$(yq '.k0s.hostname' config.yaml)")\"" config.yaml +yq -i ".k0s.private_ip_range = \"$(gum input --placeholder "Node IP Range::" --prompt "* " --width 80 --value "$(yq '.k0s.private_ip_range' config.yaml)")\"" config.yaml \ No newline at end of file