diff --git a/multiplane.sh b/multiplane.sh index ada931b..e105553 100644 --- a/multiplane.sh +++ b/multiplane.sh @@ -30,4 +30,7 @@ fatal() { echo -e "\e[31m[FATAL]\e[39m $1" echo "[FATAL] $1" >> /tmp/multiplane.log exit 1 -} \ No newline at end of file +} + +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