aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-06 13:39:20 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-06 13:39:20 +0100
commit050883d0fd37f147be8af0dbb037c4116825e36a (patch)
tree6071d81d5b4f8da103289bb5abc722c0211b9024 /tools
parent44cdadd1cd9fc7e081498d4b453b52ffd4cc6380 (diff)
downloadxen-050883d0fd37f147be8af0dbb037c4116825e36a.tar.gz
xen-050883d0fd37f147be8af0dbb037c4116825e36a.tar.bz2
xen-050883d0fd37f147be8af0dbb037c4116825e36a.zip
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xm/new.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/python/xen/xm/new.py b/tools/python/xen/xm/new.py
index 742c7ff8fd..0fb7d8fc58 100644
--- a/tools/python/xen/xm/new.py
+++ b/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)