Correct setup.sh args
This commit is contained in:
parent
e7cdb402fb
commit
ec56abfccb
|
@ -10,8 +10,9 @@ if [[ -z "$mode" ]]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
num_tokens="$(snapctl get num-tokens)"
|
||||
public_ip="$(snapctl get public-ip)"
|
||||
$SNAP/bin/setup.sh -n "$(snapctl get num-tokens)" -p ${public_ip:+-p $public_ip}
|
||||
$SNAP/bin/setup.sh ${num_tokens:+-n $num_tokens} ${public_ip:+-p $public_ip}
|
||||
|
||||
case $mode in
|
||||
leader+drone)
|
||||
|
|
Loading…
Reference in New Issue