ignore service setup in plugins when XCATBYPASS is set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5435d6f597
commit
41a7e8ba1f
@ -31,6 +31,11 @@ Call mountInstall
|
||||
sub handled_commands
|
||||
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
|
@ -33,6 +33,11 @@ Call setup_CONS
|
||||
sub handled_commands
|
||||
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
{
|
||||
|
@ -31,6 +31,11 @@ Call setup_DHCP
|
||||
|
||||
sub handled_commands
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
{
|
||||
|
@ -29,6 +29,11 @@ Call setup_DNS
|
||||
|
||||
sub handled_commands
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
{
|
||||
|
@ -29,6 +29,11 @@ Call setup_TFTP (actually setting up atftp)
|
||||
|
||||
sub handled_commands
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
|
||||
# setup vstftp
|
||||
|
@ -29,6 +29,11 @@ Call setup_LDAP
|
||||
|
||||
sub handled_commands
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
{
|
||||
|
@ -31,6 +31,11 @@ Call setup_NFS
|
||||
sub handled_commands
|
||||
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
|
@ -27,6 +27,11 @@ Call setup_NTP
|
||||
|
||||
sub handled_commands
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
|
@ -28,6 +28,11 @@ Call setup_SSH
|
||||
|
||||
sub handled_commands
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
if (xCAT::Utils->isServiceNode())
|
||||
{
|
||||
|
@ -29,6 +29,11 @@ Call setup_TFTP (actually setting up atftp)
|
||||
|
||||
sub handled_commands
|
||||
{
|
||||
# If called in XCATBYPASS mode, don't do any setup
|
||||
if ($ENV{'XCATBYPASS'}) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
my $rc = 0;
|
||||
|
||||
# setup atftp
|
||||
|
Loading…
Reference in New Issue
Block a user