mirror of
https://github.com/labring/sealos.git
synced 2026-09-24 15:46:19 +08:00
optimize cloud install.sh; (#4153)
add account gift support float ratios; default price is reduced to 30%.
This commit is contained in:
@@ -271,14 +271,16 @@ collect_input() {
|
||||
done
|
||||
fi
|
||||
if [[ $single != "y" ]]; then
|
||||
while :; do
|
||||
read -p "$(get_prompt "input_node_ips")" node_ips
|
||||
if validate_ips "$node_ips"; then
|
||||
break
|
||||
else
|
||||
get_prompt "invalid_ips"
|
||||
fi
|
||||
done
|
||||
if [[ -z "$node_ips" ]]; then
|
||||
while :; do
|
||||
read -p "$(get_prompt "input_node_ips")" node_ips
|
||||
if validate_ips "$node_ips"; then
|
||||
break
|
||||
else
|
||||
get_prompt "invalid_ips"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
read -p "$(get_prompt "ssh_private_key")" ssh_private_key
|
||||
|
||||
if [[ -z "$ssh_private_key" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user