From 9d90313aaf8490e0bf7fc787114dae01464d5316 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Thu, 16 Apr 2015 15:49:07 +0800 Subject: [PATCH] Fix bug#4502 --- xCAT-server/lib/xcat/plugins/anaconda.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 1861ae340..810ca7038 100755 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -795,8 +795,11 @@ sub mknetboot ); next; } - $kcmdline .= - " console=tty0 console=ttyS" . $sent->{serialport} . "," . $sent->{serialspeed}; + if ( $arch =~ /ppc64/i ) { + $kcmdline .= " console=tty0 console=hvc" . $sent->{serialport} . "," . $sent->{serialspeed}; + } else { + $kcmdline .= " console=tty0 console=ttyS" . $sent->{serialport} . "," . $sent->{serialspeed}; + } if ($sent->{serialflow} =~ /(hard|tcs|ctsrts)/) { $kcmdline .= "n8r";