mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	set rspconfig run on python default (#5040)
This commit is contained in:
		| @@ -917,7 +917,7 @@ class OpenBMCRest(object): | ||||
|  | ||||
|     def set_ipdhcp(self): | ||||
|         payload = { "data": [] } | ||||
|         return self.request('PUT', RSPCONFIG_NETINFO_URL['ipdhcp'], payload=payload, cmd="set_bmcip_dhcp") | ||||
|         return self.request('POST', RSPCONFIG_NETINFO_URL['ipdhcp'], payload=payload, cmd="set_bmcip_dhcp") | ||||
|  | ||||
|  | ||||
| class OpenBMCImage(object): | ||||
|   | ||||
| @@ -255,7 +255,7 @@ sub run_cmd_in_perl { | ||||
|     } | ||||
|  | ||||
|     # List of commands currently not supported in Python | ||||
|     my @unsupported_in_python_commands = ('rflash', 'rspconfig', 'getopenbmccons'); | ||||
|     my @unsupported_in_python_commands = ('rflash', 'getopenbmccons'); | ||||
|  | ||||
|     if ($command ~~ @unsupported_in_python_commands) { | ||||
|         # Command currently not supported in Python | ||||
|   | ||||
		Reference in New Issue
	
	Block a user