xm: pass --skipdtd parameter through to 'xm new'

Pass the command line parameter '--skipdtd|-s' through to the actual
'xm new' command.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-08-06 13:39:20 +01:00
1 parent 44cdadd1cd
commit 050883d0fd
1 file changed
+2 -1
+2 -1
View File
@@ -75,7 +75,8 @@ def main(argv):
doc = sxp2xml_inst.convert_sxp_to_xml(config)
xenapi_create_inst = xenapi_create()
vm_refs = xenapi_create_inst.create(document = doc)
vm_refs = xenapi_create_inst.create(document = doc,
skipdtd=opts.vals.skipdtd)
else:
make_unstarted_domain(opts, config)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.