For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -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/)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user