2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-29 06:18:14 +00:00

Fix bug#4502

This commit is contained in:
GONG Jie
2015-04-16 15:49:07 +08:00
parent bdc89cc838
commit 9d90313aaf

View File

@@ -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";