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
diff --git a/LED-architecture.md b/LED-architecture.md
index cc9fdba..0a4b548 100644
--- a/LED-architecture.md
+++ b/LED-architecture.md
@@ -27,7 +27,7 @@
In the following example, the lamp_test group is being asserted...
```
curl -b cjar -k -X PUT -H "Content-Type: application/json" -d '{"data": 1}' \
- https://bmc/xyz/openbmc_project/led/groups/lamp_test/attr/Asserted
+ https://${bmc}/xyz/openbmc_project/led/groups/lamp_test/attr/Asserted
```
diff --git a/cheatsheet.md b/cheatsheet.md
index 0aa3bc6..46f3766 100644
--- a/cheatsheet.md
+++ b/cheatsheet.md
@@ -144,7 +144,7 @@
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 @@
```
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