-Fix db2man failure on rpm build

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-09-27 14:55:00 +00:00
parent f8fc3dad9b
commit ae14aa1bfc

View File

@ -2576,25 +2576,25 @@ sub get_nodeset_state {
my $boottype=$ent->{netboot};
#get nodeset state from corresponding files
if ($boottype eq "pxe") {
use xCAT_plugin::pxe;
require xCAT_plugin::pxe;
my $tmp=xCAT_plugin::pxe::getstate($node);
my @a=split(' ', $tmp);
$state = $a[0];
}
elsif ($boottype eq "yaboot") {
use xCAT_plugin::yaboot;
require xCAT_plugin::yaboot;
my $tmp=xCAT_plugin::yaboot::getstate($node);
my @a=split(' ', $tmp);
$state = $a[0];
}
elsif ($boottype eq "aixinstall") {
use xCAT_plugin::aixinstall;
require xCAT_plugin::aixinstall;
$state=xCAT_plugin::aixinstall::getNodesetState($node);
}
}
else { #default to AIX because AIX does not set noderes.netboot value
use xCAT_plugin::aixinstall;
require xCAT_plugin::aixinstall;
$state=xCAT_plugin::aixinstall::getNodesetState($node);
}