This patch adds a serial console to the guest VMs as created by taskomatic. Again this requires the latest kvm from the ovirt repo, but that should be pulled in automatically. Signed-off-by: Ian Main <imain at redhat.com> --- wui/src/task-omatic/task_vm.rb | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/wui/src/task-omatic/task_vm.rb b/wui/src/task-omatic/task_vm.rb index 34749e0..d7f0869 100644 --- a/wui/src/task-omatic/task_vm.rb +++ b/wui/src/task-omatic/task_vm.rb @@ -80,6 +80,11 @@ def create_vm_xml(name, uuid, memAllocated, memUsed, vcpus, bootDevice, doc.root.elements["devices"].add_element("input", {"type" => "mouse", "bus" => "ps2"}) doc.root.elements["devices"].add_element("graphics", {"type" => "vnc", "port" => "-1", "listen" => "0.0.0.0"}) + serial = Element.new("serial") + serial.add_attribute("type", "pty") + serial.add_element("target", {"port" => "0"}) + doc.root.elements["devices"] << serial + return doc end -- 1.5.5.1