Do not attempt to show install on serial port for esxi5, it breaks

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-10-10 18:21:32 +00:00
parent 0cb9c2b754
commit 84adbfd07b

View File

@ -4429,7 +4429,7 @@ sub mkcommonboot {
$append .= " ks=http://!myipfn!/install/autoinst/$node";
esxi_kickstart_from_template(node=>$node,os=>$osver,arch=>$arch,profile=>$profile);
}
if ($serialconfig->{$node}) {
if ($bootmode ne "install" and $serialconfig->{$node}) { #don't do it for install, installer croaks currently
my $comport = 1;
if (defined $serialconfig->{$node}->[0]->{serialport}) {
$comport = $serialconfig->{$node}->[0]->{serialport}+1;