All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH docs] cheatsheet: Explain how to boot the host with curl
@ 2016-06-17  3:20 OpenBMC Patches
  2016-06-17  3:20 ` OpenBMC Patches
  0 siblings, 1 reply; 4+ messages in thread
From: OpenBMC Patches @ 2016-06-17  3:20 UTC (permalink / raw)
  To: openbmc



<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/docs/28)
<!-- Reviewable:end -->


https://github.com/openbmc/docs/pull/28

Joel Stanley (1):
  cheatsheet: Explain how to boot the host with curl

 cheatsheet.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

-- 
2.8.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH docs] cheatsheet: Explain how to boot the host with curl
  2016-06-17  3:20 [PATCH docs] cheatsheet: Explain how to boot the host with curl OpenBMC Patches
@ 2016-06-17  3:20 ` OpenBMC Patches
  2016-06-20  7:28   ` Jeremy Kerr
  0 siblings, 1 reply; 4+ messages in thread
From: OpenBMC Patches @ 2016-06-17  3:20 UTC (permalink / raw)
  To: openbmc

From: Joel Stanley <joel@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@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH docs] cheatsheet: Explain how to boot the host with curl
  2016-06-17  3:20 ` OpenBMC Patches
@ 2016-06-20  7:28   ` Jeremy Kerr
  2016-06-20  9:33     ` Joel Stanley
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Kerr @ 2016-06-20  7:28 UTC (permalink / raw)
  To: Joel Stanley, openbmc

Hi Joel,

> +## Booting the host

Awesome! Can you put this in the userguide too? Maybe at the top of the
'Host Management' section...

Acked-by: Jeremy Kerr <jk@ozlabs.org>

Cheers,


Jeremy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH docs] cheatsheet: Explain how to boot the host with curl
  2016-06-20  7:28   ` Jeremy Kerr
@ 2016-06-20  9:33     ` Joel Stanley
  0 siblings, 0 replies; 4+ messages in thread
From: Joel Stanley @ 2016-06-20  9:33 UTC (permalink / raw)
  To: Jeremy Kerr; +Cc: OpenBMC Maillist

On Mon, Jun 20, 2016 at 5:28 PM, Jeremy Kerr <jk@ozlabs.org> wrote:
> Awesome! Can you put this in the userguide too? Maybe at the top of the
> 'Host Management' section...

I've done that. I'm overly familiar with how documentation on the
dbus/rest APIs should be worded, so feedback is welcome (I also need
to move it to the top as you suggested).

 https://github.com/openbmc/docs/pull/29

Cheers,

Joel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-20  9:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17  3:20 [PATCH docs] cheatsheet: Explain how to boot the host with curl OpenBMC Patches
2016-06-17  3:20 ` OpenBMC Patches
2016-06-20  7:28   ` Jeremy Kerr
2016-06-20  9:33     ` Joel Stanley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.