Skip to content

Commit 975fb1a

Browse files
author
Matthew Fisher
committed
feat(contrib): add usage to DigitalOcean script
1 parent 8addcf6 commit 975fb1a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

contrib/digitalocean/provision-do-cluster.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ CONTRIB_DIR=$(dirname $THIS_DIR)
1010

1111
source $CONTRIB_DIR/utils.sh
1212

13+
if [ -z "$4" ]; then
14+
echo_red 'Usage: provision-do-cluster.sh <REGION_ID> <IMAGE_ID> <SSH_ID> <SIZE>'
15+
exit 1
16+
fi
17+
1318
# check for DO tools in $PATH
1419
if ! which tugboat > /dev/null; then
1520
echo_red 'Please install the tugboat gem and ensure it is in your $PATH.'

0 commit comments

Comments
 (0)