aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Steuck <gnezdo@google.com>2019-05-19 17:18:46 -0700
committerDmitry Vyukov <dvyukov@google.com>2019-05-20 17:59:02 +0200
commitb5641f32bf42f02cf749ac7ec0c8fc5d7817d802 (patch)
tree5f0fd8a83ca5ac2b2b0139035ef2037d5e8af923
parent5a4461b07fc2095228b71922606e4a1875852995 (diff)
docs/openbsd: Record gcloud commands used for /syzkaller
-rw-r--r--docs/openbsd/gce.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/openbsd/gce.md b/docs/openbsd/gce.md
index 3a19836be..e4e26df83 100644
--- a/docs/openbsd/gce.md
+++ b/docs/openbsd/gce.md
@@ -6,8 +6,18 @@ be rebuilt when compatibility bumps in OpenBSD-current are encountered. Manual
tweaks to this image without updating the script will be lost.
There is also a persistent disk with build artifacts and syz-bot state. It is
-mounted as `/syzkaller`. The original image was set up with:
+mounted as `/syzkaller`.
+
+The original image was created by running these GCE commands:
+
+```shell
+gcloud compute --project syzkaller disks delete ci-openbsd-syzkaller --zone "us-central1-c"
+gcloud compute --project syzkaller disks create ci-openbsd-syzkaller \
+ --description "/syzkaller FS" --size "1000GB" --zone "us-central1-c" --type pd-ssd
+```
+
+Once the host system is booted, the file system was provisioned with:
```shell
ci-openbsd# fdisk -y -i sd1
Writing MBR at offset 0.
@@ -30,5 +40,6 @@ Persistent disk structure:
```
/syzkaller
- /src - https://github.com/openbsd/src.git
+ /config-openbsd.ci - syz-ci config stored internally
+ /userspace/{key,image} - produced by create-openbsd-vmm-worker.sh
```