From 264668c85f20fd3dc17a247cdde11ceee8480240 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 17 May 2012 17:19:48 +0000 Subject: [PATCH] Copy in mboot.c32 from custom path if applicable git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 36754e3eb..4b6f59de1 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -4437,9 +4437,11 @@ sub mkcommonboot { } if ($osver =~ /esxi4/ and -r "$::XCATROOT/share/xcat/netboot/syslinux/mboot.c32") { #prefer xCAT patched mboot.c32 with BOOTIF for mboot copy("$::XCATROOT/share/xcat/netboot/syslinux/mboot.c32", $dest); - } else { + } elsif (-r "$custprofpath/mboot.c32") { + copy("$custprofpath/mboot.c32", $dest); + } elsif (-r "$srcdir/mboot.c32") { copy("$srcdir/mboot.c32", $dest); - } + } if (-f "$srcdir/efiboot.img") { copy("$srcdir/efiboot.img",$dest); print("$srcdir/efi");