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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user