mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	| @@ -185,6 +185,16 @@ my %usage = ( | ||||
|        rspconfig <noderange> [hostname|ntpservers] | ||||
|        rspconfig <noderange> [hostname=<*|hostname>|ntpservers=<ntpservers>] | ||||
|        rspconfig <noderange> sshcfg | ||||
|        rspconfig <noderange> powerrestorepolicy | ||||
|        rspconfig <noderange> powerrestorepolicy={always_on|restore|always_off} | ||||
|        rspconfig <noderange> powersupplyredundancy | ||||
|        rspconfig <noderange> powersupplyredundancy={disabled|enabled} | ||||
|        rspconfig <noderange> timesyncmethod | ||||
|        rspconfig <noderange> timesyncmethod={ntp|manual} | ||||
|        rspconfig <noderange> bootmode | ||||
|        rspconfig <noderange> bootmode={safe|regular|setup} | ||||
|        rspconfig <noderange> autoreboot | ||||
|        rspconfig <noderange> autoreboot={0|1} | ||||
| ", | ||||
|     "rspconfig.begin" => | ||||
|    "BMC/MPA Common: | ||||
|   | ||||
| @@ -792,11 +792,11 @@ sub preprocess_request { | ||||
|             # Could not find usage for openbmc section, try getting usage for all sections | ||||
|             $usage_string = xCAT::Usage->parseCommand($command, @exargs); | ||||
|         } | ||||
|         else { | ||||
|         #else { | ||||
|             # Usage for openbmc section was extracted, append autogenerated usage for | ||||
|             # configured commands | ||||
|             $usage_string .= &build_config_api_usage($callback, $command); | ||||
|         } | ||||
|         #    $usage_string .= &build_config_api_usage($callback, $command); | ||||
|         #} | ||||
|  | ||||
|         $callback->({ data => [$usage_string] }); | ||||
|         $request = {}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user