aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-openbsd-gce-ci.sh
diff options
context:
space:
mode:
authorGreg Steuck <blackgnezdo@gmail.com>2018-09-20 11:46:46 -0700
committerDmitry Vyukov <dvyukov@google.com>2018-09-20 20:46:45 +0200
commit370797126e9ba28a49317bf099076a5ca06e4501 (patch)
tree4df1d8505f7ee66a2146483efc30a989e4ea5c59 /tools/create-openbsd-gce-ci.sh
parent6cee973cb5514a9ab06a2d258dd4bc527004c23f (diff)
tools/create-openbsd-gce-ci.sh mount 10G ramdisk for worker images
Diffstat (limited to 'tools/create-openbsd-gce-ci.sh')
-rwxr-xr-xtools/create-openbsd-gce-ci.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/create-openbsd-gce-ci.sh b/tools/create-openbsd-gce-ci.sh
index e813dbc5b..0a1536b5b 100755
--- a/tools/create-openbsd-gce-ci.sh
+++ b/tools/create-openbsd-gce-ci.sh
@@ -54,6 +54,9 @@ cat >etc/rc.local <<EOF
echo "starting syz-ci"
fsck -y /dev/sd1a
mount /syzkaller
+ mkdir -p /syzkaller/ramdisk
+ mount -t mfs -o-s=10G /dev/sd0b /syzkaller/ramdisk
+ chown syzkaller:syzkaller /syzkaller/ramdisk
)
EOF
chmod +x install.site