From 0b624c8069f103aa1724916c0ec4f11c0787dece Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Fri, 28 Sep 2018 02:13:51 -0700 Subject: tools/create-openbsd-*: fully functional images from scratch * tools/create-openbsd-gce-ci: use config from /syzkaller * Use syzkaller copy of src instead of a separate one. * Using /dev/null disk in vm.conf * Use KVM, enable doas, no longer symlink. * Use a dummmy.img * Revert "Use a dummmy.img" This reverts commit 656b24d5e4573dde5e95c6158852001c7241e65a. --- tools/create-openbsd-gce-ci.sh | 11 +++-------- tools/create-openbsd-vmm-worker.sh | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'tools') diff --git a/tools/create-openbsd-gce-ci.sh b/tools/create-openbsd-gce-ci.sh index 10433697e..1075aac1b 100755 --- a/tools/create-openbsd-gce-ci.sh +++ b/tools/create-openbsd-gce-ci.sh @@ -35,13 +35,10 @@ pkg_add -I bash git gmake go llvm nano wget && echo pkg_add OK echo 'set tty com0' > boot.conf echo 'PasswordAuthentication no' >> /etc/ssh/sshd_config echo 'pass in on egress proto tcp from any to any port 80 rdr-to 127.0.0.1 port 8080' >> /etc/pf.conf +echo 'permit keepenv nopass syzkaller as root' > /etc/doas.conf mkdir /syzkaller echo '/dev/sd1a /syzkaller ffs rw,noauto 1 0' >> /etc/fstab - -rm -rf /usr/{src,ports} -ln -s /syzkaller/src /usr/src -ln -s /syzkaller/ports /usr/ports EOF cat >etc/installurl <etc/rc.local <&1 | tee syz-ci.log & + ./syz-ci -config ./config-openbsd.ci 2>&1 | tee syz-ci.log & EOF2 ) EOF @@ -80,15 +77,13 @@ EOF cat >etc/vm.conf <" send "\n" -- cgit mrf-deployment