diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 810ca7038..49a7f7e43 100755 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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};