devmode: Add release switch

Allowing devmode.sh to also deploy stable release ovb environments.

Change-Id: I66ddfa77875d0362e87d192d729d1bb0e1b7faec
This commit is contained in:
Lee Yarwood 2017-06-07 20:25:42 +01:00
parent aa88e56bd5
commit 60ef84fa44
1 changed files with 6 additions and 1 deletions

View File

@ -29,6 +29,8 @@ usage () {
echo " -d, --delete-all-stacks"
echo " delete all stacks in the tenant before deployment."
echo " will also delete associated keypairs if they exist."
echo " -r, --release <release>"
echo " OpenStack release to deploy (default=$RELEASE)."
echo " -h, --help print this help and exit"
echo " virthost target machine used for deployment, required argument"
}
@ -173,7 +175,10 @@ while [ "x$1" != "x" ]; do
DEPLOY_TYPE=ovb
VIRTHOST=localhost
;;
--release|-r)
RELEASE=$2
shift
;;
--help|-h)
usage
exit