[Ovirt-devel] [PATCH appliance] Configure appliance to enable serial console for grub/kernel by default
Perry Myers
pmyers at redhat.com
Sun Nov 9 07:48:00 UTC 2008
Signed-off-by: Perry Myers <pmyers at redhat.com>
---
ovirt-appliance.ks | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ovirt-appliance.ks b/ovirt-appliance.ks
index e34ab87..7ecfb6d 100644
--- a/ovirt-appliance.ks
+++ b/ovirt-appliance.ks
@@ -11,7 +11,7 @@ services --disabled=libvirtd,postgresql --enabled=network,tgtd,nfs,iptables
timezone --utc UTC
text
-bootloader --location=mbr --driveorder=sda
+bootloader --location=mbr --driveorder=sda --append="console=tty0 console=ttyS0,115200"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
@@ -36,6 +36,9 @@ lokkit
# cleanup rpmdb to allow non-matching host and chroot RPM versions
rm -f /var/lib/rpm/__db*
+ # set up serial console
+ sed -i 's/hiddenmenu/hiddenmenu\nserial --unit=0 --speed=115200\nterminal --timeout=5 serial console/' /boot/grub/grub.conf
+
# The ace stuff.
/sbin/chkconfig --level 35 ace on
mkdir /etc/sysconfig/ace
--
1.6.0.3
More information about the ovirt-devel
mailing list