Merge pull request #5177 from wenottingham/blah

Fixup request_tower_configuration.sh
This commit is contained in:
Bill Nottingham
2017-02-06 10:08:46 -05:00
committed by GitHub

View File

@@ -20,16 +20,14 @@ OPTIONS:
-c Host config key (required) -c Host config key (required)
-t Job template ID (required) -t Job template ID (required)
-e Extra variables -e Extra variables
-s Number of seconds between retries (default: ${NUM_SECONDS})
EOF EOF
} }
# Initialize variables # Initialize variables
INSECURE="" INSECURE=""
NUM_SECONDS=60
# Parse arguments # Parse arguments
while getopts “hks:c:t:s:” OPTION while getopts “hks:c:t:s:e:” OPTION
do do
case ${OPTION} in case ${OPTION} in
h) h)
@@ -51,9 +49,6 @@ do
e) e)
EXTRA_VARS=${OPTARG} EXTRA_VARS=${OPTARG}
;; ;;
2)
NUM_SECONDS=${OPTARG}
;;
?) ?)
usage usage
exit exit