Add support for a service type env var
Rackspace is currently setting their service types to weird things. Support them, because we love special snowflakes. Change-Id: I1519be00a3086945338a953bc2a1e7a4e0e65400
This commit is contained in:
parent
42db0cf585
commit
06e7ba4586
|
@ -145,6 +145,8 @@ class OpenStackTroveShell(object):
|
|||
|
||||
parser.add_argument('--service-type',
|
||||
metavar='<service-type>',
|
||||
default=utils.env('OS_SERVICE_TYPE',
|
||||
'TROVE_SERVICE_TYPE'),
|
||||
help='Defaults to database for most actions')
|
||||
parser.add_argument('--service_type',
|
||||
help=argparse.SUPPRESS)
|
||||
|
|
Loading…
Reference in New Issue