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:
parent
51c3de7994
commit
f17e5447db
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user