From 84adbfd07bf9db2985cb594eb1406b2365691448 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 10 Oct 2011 18:21:32 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/esx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 652f1a188..d86d9065f 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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;