qvm-tools: fix args parsing for qvm-create --hvm-template
This commit is contained in:
parent
dc55720738
commit
919b9455f8
@ -100,6 +100,9 @@ def main():
|
||||
if options.hvm and not options.template:
|
||||
options.standalone = True
|
||||
|
||||
if options.hvm_template:
|
||||
options.standalone = True
|
||||
|
||||
if options.root is not None and not os.path.exists(options.root):
|
||||
print >> sys.stderr, "File specified as root.img does not exists"
|
||||
exit (1)
|
||||
|
Loading…
Reference in New Issue
Block a user