Update multiplane.sh
This commit is contained in:
@@ -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
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user