summaryrefslogtreecommitdiffstats
path: root/cheatsheet.md
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-11-28 12:41:59 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-12-05 01:46:49 +0000
commit03504a9557ae8e269039bc2cf1803967ec2c2ffc (patch)
tree07d304b14e57b2b60e4eac6332120b3844de6d92 /cheatsheet.md
parent9fb037b377614fe32a752a4e33fd0847f8863724 (diff)
downloadopenbmc-docs-03504a9557ae8e269039bc2cf1803967ec2c2ffc.tar.gz
openbmc-docs-03504a9557ae8e269039bc2cf1803967ec2c2ffc.zip
Change //bmc/ to //${bmc}/ in LED and cheatsheet
Changed the example calls from //bmc/ to //${bmc}/ in LED-architecture.md and cheatsheet.md. This is more obvious and users can set bmc to their bmc ip and just copy/paste these example calls. Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Change-Id: I9efcc802367b01535ceada71f143972cadf1ca48
Diffstat (limited to 'cheatsheet.md')
-rw-r--r--cheatsheet.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/cheatsheet.md b/cheatsheet.md
index 0aa3bc6..46f3766 100644
--- a/cheatsheet.md
+++ b/cheatsheet.md
@@ -144,7 +144,7 @@ window. This results in having an easily accessible qemu command session.
Login:
```
-curl -c cjar -k -X POST -H "Content-Type: application/json" -d '{"data": [ "root", "0penBmc" ] }' https://bmc/login
+curl -c cjar -k -X POST -H "Content-Type: application/json" -d '{"data": [ "root", "0penBmc" ] }' https://${bmc}/login
```
Connect to host console:
@@ -156,7 +156,7 @@ Power on:
```
curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT \
-d '{"data": "xyz.openbmc_project.State.Host.Transition.On"}' \
- https://bmc/xyz/openbmc_project/state/host0/attr/RequestedHostTransition
+ https://${bmc}/xyz/openbmc_project/state/host0/attr/RequestedHostTransition
```
## GDB
OpenPOWER on IntegriCloud