Add check to service node plugins that are not to run on AIX

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-09-09 12:31:27 +00:00
parent fd5fef885c
commit 1535e481f8
4 changed files with 20 additions and 7 deletions

View File

@ -15,7 +15,7 @@ use Getopt::Long;
=head1
mounts /install if site.installloc set
on a Linux Service Node
#-------------------------------------------------------
@ -35,6 +35,10 @@ sub handled_commands
if ($ENV{'XCATBYPASS'}) {
return 0;
}
if (xCAT::Utils->isAIX()) { # do not run on AIX
return 0;
}
my $rc = 0;

View File

@ -21,7 +21,7 @@ use Getopt::Long;
=head3 handled_commands
Check to see if on a Service Node
Check to see if on a Linux Service Node
Check database to see if this node is a DHCP server
Call setup_DHCP
@ -35,6 +35,9 @@ sub handled_commands
if ($ENV{'XCATBYPASS'}) {
return 0;
}
if (xCAT::Utils->isAIX()) { # do not run on AIX
return 0;
}
my $rc = 0;
if (xCAT::Utils->isServiceNode())

View File

@ -13,16 +13,16 @@ use Getopt::Long;
#-------------------------------------------------------
=head1
xCAT plugin package to setup vstftp on a service node
xCAT plugin package to setup vstftp on a Linux service node
#-------------------------------------------------------
=head3 handled_commands
This runs on Service Node
This runs on Linux Service Node
Checks servicenode table ftpserver attribute
Call setup_TFTP (actually setting up atftp)
Call setup_TFTP (actually setting up vstftp)
=cut
@ -34,6 +34,9 @@ sub handled_commands
if ($ENV{'XCATBYPASS'}) {
return 0;
}
if (xCAT::Utils->isAIX()) { # do not run on AIX
return 0;
}
my $rc = 0;

View File

@ -12,7 +12,7 @@ use Getopt::Long;
#-------------------------------------------------------
=head1
xCAT plugin package to setup of LDAP on the ServiceNode
xCAT plugin package to setup of LDAP on the Linux ServiceNode
#-------------------------------------------------------
@ -33,7 +33,10 @@ sub handled_commands
if ($ENV{'XCATBYPASS'}) {
return 0;
}
if (xCAT::Utils->isAIX()) { # do not run on AIX
return 0;
}
my $rc = 0;
if (xCAT::Utils->isServiceNode())
{