changed custom install directory to use the os version instead of being hardodedto esxi

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
cjhardee 2010-11-05 14:26:14 +00:00
parent 87ff38aad1
commit 56606ad705

View File

@ -3735,7 +3735,10 @@ sub mknetboot {
# first make sure copycds was done:
my $custprofpath = $profile;
unless ($custprofpath =~ /^\//) {#If profile begins with a /, assume it already is a path
$custprofpath = $installroot."/custom/install/esxi/$arch/$profile";
$custprofpath = $installroot."/custom/install/$osver/$arch/$profile";
unless(-d $custprofpath) {
$custprofpath = $installroot."/custom/install/esxi/$arch/$profile";
}
}
unless(
-r "$custprofpath/vmkboot.gz"