Skip to content
Permalink
Browse files

docs/openbsd: correct order of vmctl arguments

The order of arguments passed to vmctl was recently changed: options comes
first followed by positional arguments.
  • Loading branch information...
mptre committed Jun 18, 2019
1 parent efb619c commit 34bf9440bd06034f86b5d9ac8afbf078129cbdae
Showing with 5 additions and 5 deletions.
  1. +5 −5 docs/openbsd/setup.md
@@ -74,13 +74,13 @@ $ make -C compile/SYZKALLER
2. Create disk image:
```sh
$ vmctl create "qcow2:$VMIMG" -s 4G
$ vmctl create -s 4G "qcow2:$VMIMG"
```
3. Install VM:
```sh
$ vmctl start syzkaller-1 -c -t syzkaller -b /bsd.rd -d "$VMIMG"
$ vmctl start -c -t syzkaller -b /bsd.rd -d "$VMIMG" syzkaller-1
```
Answers to questions that deviates from the defaults:
@@ -93,8 +93,8 @@ $ make -C compile/SYZKALLER
4. Restart the newly created VM and copy the SSH-key:
```sh
$ vmctl stop syzkaller-1 -w
$ vmctl start syzkaller-1 -c -t syzkaller -d "$VMIMG"
$ vmctl stop -w syzkaller-1
$ vmctl start -c -t syzkaller -d "$VMIMG" syzkaller-1
$ ssh "root@100.64.${VMID}.3" 'cat >~/.ssh/authorized_keys' <$SSHKEY.pub
```
@@ -107,7 +107,7 @@ $ make -C compile/SYZKALLER
6. Finally, stop the VM:
```sh
$ vmctl stop syzkaller-1 -w
$ vmctl stop -w syzkaller-1
```
## Configure and run syzkaller

0 comments on commit 34bf944

Please sign in to comment.
You can’t perform that action at this time.