summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-06-17 06:24:49 -0500
committerGitHub <noreply@github.com>2016-06-17 06:24:49 -0500
commit956a798a8c3be50bcc51c066dc7b86be6956b799 (patch)
tree6ee6acff9883ab48d7fb3ab520dc1771cb73a26c
parente49ee8d86eed19cae93084516c10f387ef383c36 (diff)
parentae88254c911b6664605b500776b13f6ae6e662ed (diff)
downloadopenbmc-docs-956a798a8c3be50bcc51c066dc7b86be6956b799.tar.gz
openbmc-docs-956a798a8c3be50bcc51c066dc7b86be6956b799.zip
Merge pull request #28 from shenki/patch-4
cheatsheet: Explain how to boot the host with curl
-rw-r--r--cheatsheet.md17
1 files changed, 17 insertions, 0 deletions
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@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
+```
OpenPOWER on IntegriCloud