Merge "Fix support for --flagfile argument"
This commit is contained in:
commit
0f3995d3cf
@ -325,7 +325,7 @@ def default_flagfile(filename='nova.conf', args=None):
|
||||
args = sys.argv
|
||||
for arg in args:
|
||||
if arg.find('flagfile') != -1:
|
||||
return arg[arg.index('flagfile') + 1:]
|
||||
return arg[arg.index('flagfile') + len('flagfile') + 1:]
|
||||
else:
|
||||
if not os.path.isabs(filename):
|
||||
# turn relative filename into an absolute path
|
||||
|
Loading…
Reference in New Issue
Block a user