diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index ae2b4a4fd..6023167c7 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -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;