direct-io.hg

changeset 14450:e7c6e6621e85

Fix xm create -c.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Mar 20 11:49:04 2007 +0000 (2007-03-20)
parents e2f302488983
children cb7b69311abb
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Tue Mar 20 11:45:44 2007 +0000
     1.2 +++ b/tools/python/xen/xm/create.py	Tue Mar 20 11:49:04 2007 +0000
     1.3 @@ -1293,7 +1293,7 @@ def do_console(domain_name):
     1.4                      domid = server.xenapi.VM.get_domid(
     1.5                                 get_single_vm(domain_name))
     1.6                  else:
     1.7 -                    dom = server.xend.domain(name)
     1.8 +                    dom = server.xend.domain(domain_name)
     1.9                      domid = int(sxp.child_value(dom, 'domid', '-1'))
    1.10                  console.execConsole(domid)
    1.11              except: