mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Don't try to access the database from the service node if /etc/xcat/cfgloc file is missing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -76,7 +76,7 @@ sub init_plugin | ||||
|  | ||||
|     my $rc = 0; | ||||
|  | ||||
|     if (xCAT::Utils->isServiceNode()) | ||||
|     if ((xCAT::Utils->isServiceNode()) && ( -e "/etc/xcat/cfgloc")) | ||||
|     { | ||||
|         my @nodeinfo   = xCAT::Utils->determinehostname; | ||||
|         my $nodename   = pop @nodeinfo;                    # get hostname | ||||
|   | ||||
		Reference in New Issue
	
	Block a user