diff --git a/xCAT-server/lib/xcat/plugins/toolscenter.pm b/xCAT-server/lib/xcat/plugins/toolscenter.pm index bb7c0dfa9..071fd50e9 100644 --- a/xCAT-server/lib/xcat/plugins/toolscenter.pm +++ b/xCAT-server/lib/xcat/plugins/toolscenter.pm @@ -64,7 +64,7 @@ sub preprocess_request #my $stab = xCAT::Table->new('site'); #my $sent; #($sent) = $stab->getAttribs({key => 'sharedtftp'}, 'value'); - my @entries = xCAT::Utils->get_site_attribute("defserialport"); + my @entries = xCAT::Utils->get_site_attribute("sharedtftp"); my $t_entry = $entries[0]; unless ( defined($t_entry) and ($t_entry =~ /no/i or $t_entry =~ /0/))