mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	fix error creating policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1284,6 +1284,7 @@ sub genCredentials | ||||
|         } | ||||
|         else | ||||
|         { | ||||
|          if ($::genCredentials) { # if just generating new credentials | ||||
|             xCAT::MsgUtils->message('I', "Created xCAT certificate."); | ||||
|             my $chtabcmds = | ||||
|               "$::XCATROOT/sbin/chtab priority=1.2 policy.name=$hname policy.rule=allow;"; | ||||
| @@ -1292,6 +1293,7 @@ sub genCredentials | ||||
|             { | ||||
|               xCAT::MsgUtils->message('E', "Could not create policy definition.$chtabcmds."); | ||||
|             } | ||||
|          } | ||||
|         } | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user