[Ovirt-devel] [PATCH] Add serial console support

Ian Main imain at redhat.com
Wed Aug 13 22:44:05 UTC 2008


This patch adds serial console support to the ovirt node.
With this patch, nodes in developer mode now support a serial console
and can be connected to with the virsh console command.

The speed is set to 115200 by default but is configurable
via the kickstart option.

This requires the new kvm and livecd-creator from the ovirt
repo in order to work properly!

Signed-off-by: Ian Main <imain at redhat.com>
---
 ovirt-host-creator/common-install.ks |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ovirt-host-creator/common-install.ks b/ovirt-host-creator/common-install.ks
index badc847..053c03b 100644
--- a/ovirt-host-creator/common-install.ks
+++ b/ovirt-host-creator/common-install.ks
@@ -6,6 +6,7 @@ selinux --disabled
 firewall --disabled
 part / --size 550 --fstype ext2
 services --enabled=ntpd,ntpdate,collectd,iptables,network
-bootloader --timeout=1
+# This requires a new fixed version of livecd-creator to honor the --append settings.
+bootloader --timeout=1 --append="console=tty0 console=ttyS0,115200n8"
 rootpw --iscrypted Xa8QeYfWrtscM
 
-- 
1.5.5.1




More information about the ovirt-devel mailing list