-a is optional
This commit is contained in:
parent
6efaaa9d7a
commit
f3c0aa154a
|
@ -288,11 +288,15 @@ if ! $skipCreate; then
|
||||||
echo "--- $cloudProvider.sh create"
|
echo "--- $cloudProvider.sh create"
|
||||||
create_args=(
|
create_args=(
|
||||||
-p "$netName"
|
-p "$netName"
|
||||||
-a "$bootstrapValidatorAddress"
|
|
||||||
-c "$clientNodeCount"
|
-c "$clientNodeCount"
|
||||||
-n "$additionalValidatorCount"
|
-n "$additionalValidatorCount"
|
||||||
--dedicated
|
--dedicated
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if [[ -n $bootstrapValidatorAddress ]]; then
|
||||||
|
create_args+=(-a "$bootstrapValidatorAddress")
|
||||||
|
fi
|
||||||
|
|
||||||
# shellcheck disable=SC2206
|
# shellcheck disable=SC2206
|
||||||
create_args+=(${zone_args[@]})
|
create_args+=(${zone_args[@]})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue