Don't use something the shell will escape as a separator. | is now =.
This commit is contained in:
@@ -158,7 +158,7 @@ class CloudController(object):
|
||||
if FLAGS.region_list:
|
||||
regions = []
|
||||
for region in FLAGS.region_list:
|
||||
name, _sep, url = region.partition('|')
|
||||
name, _sep, url = region.partition('=')
|
||||
regions.append({'regionName': name,
|
||||
'regionEndpoint': url})
|
||||
else:
|
||||
|
||||
@@ -169,7 +169,7 @@ def DECLARE(name, module_string, flag_values=FLAGS):
|
||||
|
||||
DEFINE_list('region_list',
|
||||
[],
|
||||
'list of region|url pairs separated by commas')
|
||||
'list of region=url pairs separated by commas')
|
||||
DEFINE_string('connection_type', 'libvirt', 'libvirt, xenapi or fake')
|
||||
DEFINE_integer('s3_port', 3333, 's3 port')
|
||||
DEFINE_string('s3_host', '127.0.0.1', 's3 host')
|
||||
|
||||
Reference in New Issue
Block a user