Mailing List Archive

[xen-unstable] xm: pass --skipdtd parameter through to 'xm new'
# HG changeset patch
# User kfraser@localhost.localdomain
# Date 1186403960 -3600
# Node ID c2d4efc2c8f9c091e24688adc18732863d615afa
# Parent c229802cedbb3f43276a2ba03dfed7ef4e81ba81
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>
---
tools/python/xen/xm/new.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)

diff -r c229802cedbb -r c2d4efc2c8f9 tools/python/xen/xm/new.py
--- a/tools/python/xen/xm/new.py Mon Aug 06 13:19:44 2007 +0100
+++ b/tools/python/xen/xm/new.py Mon Aug 06 13:39:20 2007 +0100
@@ -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-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog