From 3ab8b8990a1b081a1bb36d0ab5083292d3fd2fac Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 3 May 2012 14:21:58 +0000 Subject: [PATCH] Recognize customized ESXi OS images git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 37a0387a2..6250262a9 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -4402,6 +4402,8 @@ sub mkcommonboot { unless( -r "$custprofpath/vmkboot.gz" or -r "$custprofpath/b.z" + or -r "$custprofpath/mboot.c32" + or -r "$custprofpath/install.tgz" or -r "$installroot/$osver/$arch/mboot.c32" or -r "$installroot/$osver/$arch/install.tgz" ){ xCAT::SvrUtils::sendmsg([1,"Please run copycds first for $osver or create custom image in $custprofpath/"], $output_handler);