ia64/xen-unstable

changeset 15718:c2d4efc2c8f9

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>
author kfraser@localhost.localdomain
date Mon Aug 06 13:39:20 2007 +0100 (2007-08-06)
parents c229802cedbb
children 11b70c3d2194
files tools/python/xen/xm/new.py
line diff
     1.1 --- a/tools/python/xen/xm/new.py	Mon Aug 06 13:19:44 2007 +0100
     1.2 +++ b/tools/python/xen/xm/new.py	Mon Aug 06 13:39:20 2007 +0100
     1.3 @@ -75,7 +75,8 @@ def main(argv):
     1.4          doc = sxp2xml_inst.convert_sxp_to_xml(config) 
     1.5          
     1.6          xenapi_create_inst = xenapi_create()
     1.7 -        vm_refs = xenapi_create_inst.create(document = doc)
     1.8 +        vm_refs = xenapi_create_inst.create(document = doc,
     1.9 +                                            skipdtd=opts.vals.skipdtd)
    1.10      else:       
    1.11          make_unstarted_domain(opts, config)
    1.12