Skip to contentSkip to conversation

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

PATCH New Stefan Berger 1 participant 1 message Aug 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Repost: pass --skipdtd parameter through to 'xm new'

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

---
 xen-unstable.hg/tools/python/xen/xm/new.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
xen-unstable.hg/tools/python/xen/xm/new.py +2 -1
Index: root/xen-unstable.hg/tools/python/xen/xm/new.py
===================================================================
@@ -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)
         

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel