github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/docs/openbsd/gce.md (about) 1 # ci-openbsd host 2 3 OpenBSD continous integration build machine has two disks. The root image is 4 generated by `tools/create-openbsd-gce-ci.sh`. This disk is disposable and will 5 be rebuilt when compatibility bumps in OpenBSD-current are encountered. Manual 6 tweaks to this image without updating the script will be lost. 7 8 There is also a persistent disk with build artifacts and syz-bot state. It is 9 mounted as `/syzkaller`. 10 11 12 The original image was created by running these GCE commands: 13 14 ```shell 15 gcloud compute --project syzkaller disks delete ci-openbsd-syzkaller --zone "us-central1-c" 16 gcloud compute --project syzkaller disks create ci-openbsd-syzkaller \ 17 --description "/syzkaller FS" --size "1000GB" --zone "us-central1-c" --type pd-ssd 18 ``` 19 20 Once the host system is booted, the file system was provisioned with: 21 ```shell 22 ci-openbsd# fdisk -y -i sd1 23 Writing MBR at offset 0. 24 ci-openbsd# disklabel -E sd1 25 Label editor (enter '?' for help at any prompt) 26 > a 27 partition: [a] 28 offset: [64] 29 size: [419424956] 30 FS type: [4.2BSD] 31 > w 32 > q 33 No label changes. 34 ci-openbsd# newfs -m 0 /dev/rsd1a 35 ci-openbsd# mount /syzkaller 36 ci-openbsd# chown syzkaller:syzkaller /syzkaller 37 ``` 38 39 Persistent disk structure: 40 41 ``` 42 /syzkaller 43 /config-openbsd.ci - syz-ci config stored internally 44 /userspace/{key,image} - produced by create-openbsd-vmm-worker.sh 45 ```