Skip to content

Commit d99c90c

Browse files
author
Dan Crank
committed
edits based on feedback from Andrew
1 parent 4b98557 commit d99c90c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

articles/operator-nexus/howto-baremetal-run-read.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ Also note that some commands begin with `nc-toolbox nc-toolbox-runread` and must
3535
`nc-toolbox-runread` is a special container image that includes more tools that aren't installed on the
3636
baremetal host, such as `ipmitool` and `racadm`.
3737

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.
3940

4041
| Standard commands | nc-toolbox-runread ipmitool commands | nc-toolbox-runread racadm commands | nc-toolbox-runread Mellanox troubleshooting commands |
4142
| ----------------------- | --------------------------------------------------------------------------------------| -------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
@@ -159,6 +160,16 @@ az networkcloud baremetalmachine run-read-command --name "bareMetalMachineName"
159160
--subscription "<subscription>"
160161
```
161162

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+
162173
In the response, an HTTP status code of 202 is returned as the operation is performed asynchronously.
163174

164175
## Checking command status and viewing output

0 commit comments

Comments
 (0)