-upgrade the priority of ..tmpl, nodeset <sles11_node> install will find ..tmpl ahead of ..tmpl

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2009-04-09 08:40:07 +00:00
parent 22f9c58bd7
commit eaf2ec8e27

View File

@ -705,12 +705,12 @@ sub get_tmpl_file_name {
if (-r "$base/$profile.$os.$arch.tmpl") {
return "$base/$profile.$os.$arch.tmpl";
}
elsif (-r "$base/$profile.$arch.tmpl") {
return "$base/$profile.$arch.tmpl";
}
elsif (-r "$base/$profile.$os.tmpl") {
return "$base/$profile.$os.tmpl";
}
elsif (-r "$base/$profile.$arch.tmpl") {
return "$base/$profile.$arch.tmpl";
}
elsif (-r "$base/$profile.tmpl") {
return "$base/$profile.tmpl";
}