File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ Also note that some commands begin with `nc-toolbox nc-toolbox-runread` and must
35
35
` nc-toolbox-runread ` is a special container image that includes more tools that aren't installed on the
36
36
baremetal host, such as ` ipmitool ` and ` racadm ` .
37
37
38
- The current list of supported commands is as follows. Commands in * ` italics ` * don't allow ` arguments ` ; all others do.
38
+ The current list of supported commands is as follows. Each column is a different category of commands, and
39
+ each row in the table is an individual command. Commands in * ` italics ` * don't allow ` arguments ` ; all others do.
39
40
40
41
| Standard commands | nc-toolbox-runread ipmitool commands | nc-toolbox-runread racadm commands | nc-toolbox-runread Mellanox troubleshooting commands |
41
42
| ----------------------- | --------------------------------------------------------------------------------------| -------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
@@ -159,6 +160,16 @@ az networkcloud baremetalmachine run-read-command --name "bareMetalMachineName"
159
160
--subscription "<subscription>"
160
161
```
161
162
163
+ ### This example executes the ` racadm getsysinfo -c ` command.
164
+
165
+ ``` azurecli
166
+ az networkcloud baremetalmachine run-read-command --name "bareMetalMachineName" \
167
+ --limit-time-seconds 60 \
168
+ --commands '[{"command":"nc-toolbox nc-toolbox-runread racadm getsysinfo","arguments":["-c"]}]' \
169
+ --resource-group "resourceGroupName" \
170
+ --subscription "<subscription>"
171
+ ```
172
+
162
173
In the response, an HTTP status code of 202 is returned as the operation is performed asynchronously.
163
174
164
175
## Checking command status and viewing output
You can’t perform that action at this time.
0 commit comments