add a sentence to handle the #HOSTNAME# keyword in the tmpl file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2010-07-20 02:08:09 +00:00
parent 2f7a120fa5
commit 91a743e659

View File

@ -88,6 +88,7 @@ sub subvars {
$inc =~ s/#INCLUDE_NOP:([^#^\n]+)#/includefile($1,1,0)/eg;
$inc =~ s/#INCLUDE_PKGLIST:([^#^\n]+)#/includefile($1,0,1)/eg;
$inc =~ s/#INCLUDE:([^#^\n]+)#/includefile($1, 0, 0)/eg;
$inc =~ s/#HOSTNAME#/$node/eg;
if ($tmplerr) {