From 34176e0895bc10f0a2427293e14b103f6364ae2c Mon Sep 17 00:00:00 2001 From: Marco Vanotti Date: Thu, 1 Aug 2019 13:02:52 -0700 Subject: docs/fuchsia: document manual ssh steps for syz-manager. --- docs/fuchsia/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/fuchsia/README.md b/docs/fuchsia/README.md index ec1a08335..7f18bf448 100644 --- a/docs/fuchsia/README.md +++ b/docs/fuchsia/README.md @@ -48,6 +48,12 @@ $ make TARGETOS=fuchsia TARGETARCH=amd64 \ ## Running syz-manager +Running syz-manager requires you to have built fuchsia previously, and added the ssh keys to the fuchsia.zbi image: + +``` +$ ${SOURCEDIR}/out/x64.zircon/tools/zbi -o ${SOURCEDIR}/out/x64/fuchsia-ssh.zbi ${SOURCEDIR}/out/x64/fuchsia.zbi --entry "data/ssh/authorized_keys=${SOURCEDIR}/.ssh/authorized_keys" +``` + Run `syz-manager` with a config along the lines of: ``` { @@ -68,7 +74,7 @@ Run `syz-manager` with a config along the lines of: "cpu": 4, "mem": 2048, "kernel": "/fuchsia/out/x64.zircon/multiboot.bin", - "initrd": "/fuchsia/out/x64/fuchsia.zbi" + "initrd": "/fuchsia/out/x64/fuchsia-ssh.zbi" } } ``` -- cgit mrf-deployment