updated to fix bug in kickstart templates

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
vallard 2010-07-05 21:45:17 +00:00
parent feec15d49a
commit fea2f1201e

View File

@ -747,8 +747,13 @@ sub make_files {
if($os =~ /win/){
$os = 'windows';
}
my $instdir = "$installroot/custom/$os/$arch";
}elsif($os =~ /centos/){
$os = 'centos';
}elsif($os =~ /rh/){
$os = 'rh';
}
my $instdir = "$installroot/custom/install/$os/$arch";
#mkpath("$instdir", { verbose => 1, mode => 0755, error => \my $err });
mkpath("$instdir", { verbose => 1, mode => 0755 });