[PATCH docs] cheatsheet: Explain how to boot the host with curl
OpenBMC Patches
openbmc-patches at stwcx.xyz
Fri Jun 17 13:20:11 AEST 2016
From: Joel Stanley <joel at jms.id.au>
---
cheatsheet.md | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/cheatsheet.md b/cheatsheet.md
index f51522c..873fbf9 100644
--- a/cheatsheet.md
+++ b/cheatsheet.md
@@ -104,3 +104,20 @@ qemu-system-arm \
```
To quit, type `Ctrl-a c` to switch to the QEMU monitor, and then `quit` to exit.
+
+## Booting the host
+
+Login:
+```
+curl -c cjar -k -X POST -H "Content-Type: application/json" -d '{"data": [ "root", "0penBmc" ] }' https://palm5-bmc/login
+```
+
+Connect to host console:
+```
+ssh -p 2200 root at bmc
+```
+
+Power on:
+```
+curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data": []}' https://palm5-bmc/org/openbmc/control/chassis0/action/powerOn
+```
--
2.8.4
More information about the openbmc
mailing list