-Fix problem where terminal server conserver entries were not being done

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-09-06 21:49:25 +00:00
parent 939f1b91c9
commit f247b8293c

View File

@ -253,9 +253,9 @@ sub makeconservercf {
my $node = $_;
foreach (@cfgents) {
if ($_->{node} eq $node) {
if ($_->{termserver} and $termservers{$_->{termserver}}) {
if ($_->{termserver} and not $termservers{$_->{termserver}}) {
dotsent($_,\@filecontent);
delete $termservers{$_->{termserver}}; #prevent needless cycles being burned
$termservers{$_->{termserver}}=1; #prevent needless cycles being burned
}
donodeent($_,\@filecontent);
}
@ -281,9 +281,9 @@ sub makeconservercf {
}
if (!$isSN) { $keepdoing=1;} #handle all for MN
if ($keepdoing) {
if ($_->{termserver} and $termservers{$_->{termserver}}) {
if ($_->{termserver} and not $termservers{$_->{termserver}}) {
dotsent($_,\@filecontent);
delete $termservers{$_->{termserver}}; #prevent needless cycles being burned
$termservers{$_->{termserver}}=1; #prevent needless cycles being burned
}
if ( $type{$_->{node}} !~ /fsp|bpa|hmc|ivm/ ) {
donodeent($_,\@filecontent);