qvm-tools: fix args parsing for qvm-create --hvm-template

This commit is contained in:
Marek Marczykowski-Górecki 2013-11-25 14:27:43 +01:00
parent dc55720738
commit 919b9455f8

View File

@ -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)