Skip to content

Commit

Permalink
Merge pull request openbmc#28 from shenki/patch-4
Browse files Browse the repository at this point in the history
cheatsheet: Explain how to boot the host with curl
  • Loading branch information
williamspatrick committed Jun 17, 2016
2 parents e49ee8d + ae88254 commit 956a798
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cheatsheet.md
Expand Up @@ -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
```

0 comments on commit 956a798

Please sign in to comment.