mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 11:42:05 +00:00
Add more comments for bug#4502 fixing. Use /dev/hvc? instead of /dev/ttyS? for ppc64, ppc64le, ppc64el.
This commit is contained in:
parent
9d90313aaf
commit
d9cc96bc4f
@ -796,6 +796,10 @@ sub mknetboot
|
||||
next;
|
||||
}
|
||||
if ( $arch =~ /ppc64/i ) {
|
||||
# For IBM Power machines, either ppc64 or ppc64le (ppc64el),
|
||||
# both the physical serial port or virtual serial port appeared
|
||||
# in PowerVM LPAR or PowerKVM guest use device /dev/hvc0 or
|
||||
# /dev/hvc1 instead of /dev/ttyS0 or /dev/ttyS1
|
||||
$kcmdline .= " console=tty0 console=hvc" . $sent->{serialport} . "," . $sent->{serialspeed};
|
||||
} else {
|
||||
$kcmdline .= " console=tty0 console=ttyS" . $sent->{serialport} . "," . $sent->{serialspeed};
|
||||
|
Loading…
x
Reference in New Issue
Block a user