From 23a6061209a5f808f54b476570b1e4259fbb2474 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 1 Feb 2013 06:56:01 +0000 Subject: [PATCH] update-grub can configure the console automaticlly on ubuntu/debian, the serialspeed is not a require attribute now, bug 3336 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/install/scripts/post.ubuntu | 2 -- 1 file changed, 2 deletions(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.ubuntu b/xCAT-server/share/xcat/install/scripts/post.ubuntu index f8985ad09..5a9d221a4 100644 --- a/xCAT-server/share/xcat/install/scripts/post.ubuntu +++ b/xCAT-server/share/xcat/install/scripts/post.ubuntu @@ -177,8 +177,6 @@ if [[ -r /boot/grub/menu.lst ]]; then sed -i 's/^serial/#serial/' /boot/grub/menu.lst sed -i 's/^terminal/#terminal/' /boot/grub/menu.lst elif [[ -r /boot/grub/grub.cfg ]] ; then -sed -i 's/\(GRUB_CMDLINE_LINUX=\).*/\1\"console=tty0\ console=ttyS#TABLE:nodehm:THISNODE:serialport#,#TABLE:nodehm:THISNODE:serialspeed#\"/' /etc/default/grub -sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=\).*/\1""/g' /etc/default/grub update-grub fi sed -i 's/\(deb.*security.*\)/#\1/' /etc/apt/sources.list