# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1216707638 25200
# Node ID 83b3723d0ca969293e28326198a52ada74a8b753
# Parent 3703b7be5a107c67e901546978e974546b3d5562
[TEST] Fix console tty define in LXCXML class
Modified console define as: <console tty='/dev/ptmx'/> instead of
<console>/dev/ptmx</console>
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 3703b7be5a10 -r 83b3723d0ca9 suites/libvirt-cim/lib/XenKvmLib/vxml.py
--- a/suites/libvirt-cim/lib/XenKvmLib/vxml.py Wed Jul 16 07:23:32 2008 -0700
+++ b/suites/libvirt-cim/lib/XenKvmLib/vxml.py Mon Jul 21 23:20:38 2008 -0700
@@ -710,10 +710,10 @@
os = self.get_node('/domain/os')
self.add_sub_node(os, 'init', os_init)
- def _devices(self, tty):
+ def _devices(self, tty_set):
devices = self.get_node('/domain/devices')
- interface = self.add_sub_node(devices, 'console', tty)
+ interface = self.add_sub_node(devices, 'console', tty = tty_set)
def create_lxc_file(self, ip, lxc_file):
try:
Show replies by date