added site table attribute to not allow xcatd on the mn to bring up vsftpd automatically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
bc83be9a84
commit
7c683a4ea9
@ -272,7 +272,10 @@ sub init_plugin
|
||||
{
|
||||
print "\n"
|
||||
; # make OK prints look better. Only need to do this for the 1st service.
|
||||
$rc = &setup_FTP(); # setup FTP
|
||||
my @tmp = xCAT::Utils->get_site_attribute("vsftp");
|
||||
if ((!$tmp[0]) || ($tmp[0] !~ /0|NO|No|no|N|n/ )) {
|
||||
$rc = &setup_FTP(); # setup FTP
|
||||
}
|
||||
}
|
||||
}
|
||||
return $rc;
|
||||
|
Loading…
Reference in New Issue
Block a user