Change Service Node plugins for new servicenode table interface

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-05-06 15:42:57 +00:00
parent 51c3de7994
commit f17e5447db
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ sub handled_commands
my $nodename = pop @nodeinfo; # get hostname
my @nodeipaddr = @nodeinfo; # get ip addresses
my $service = "cons";
my $service = "conserver";
$rc = xCAT::Utils->isServiceReq($nodename, $service, \@nodeipaddr);
if ($rc == 1)
{

View File

@ -35,7 +35,7 @@ sub handled_commands
my @nodeinfo = xCAT::Utils->determinehostname;
my $nodename = pop @nodeinfo; # get hostname
my @nodeipaddr = @nodeinfo; # get ip addresses
my $service = "nameservers";
my $service = "nameserver";
$rc = xCAT::Utils->isServiceReq($nodename, $service, \@nodeipaddr);
if ($rc == 1)

View File

@ -40,7 +40,7 @@ sub handled_commands
my @nodeipaddr = @nodeinfo; # get ip addresses
my $service = "nfsserver";
$rc = xCAT::Utils->isServiceReq($nodename, $service, \@nodeipaddr);
if ($rc == 1 || $rc == 0) # for now always mount install
if ($rc == 1)
{
# service needed on this Service Node

View File

@ -39,7 +39,7 @@ sub handled_commands
my $service = "tftpserver";
$rc = xCAT::Utils->isServiceReq($nodename, $service, \@nodeipaddr);
if ($rc == 1 || $rc == 0) # for now always mount tftpboot
if ($rc == 1)
{
$rc = &setup_TFTP(); # setup TFTP (ATFTP)