Perry Myers
2008-Nov-09 07:48 UTC
[Ovirt-devel] [PATCH appliance] Configure appliance to enable serial console for grub/kernel by default
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
Alan Pevec
2008-Nov-10 16:53 UTC
[Ovirt-devel] Re: [PATCH appliance] Configure appliance to enable serial console for grub/kernel by default
ACK - excellent, this will help debugging firstboot errors I can retire that qemu-nbd dance from http://ovirt.org/page/TroubleShooting#Debugging_oVirt_Appliance_firstboot