aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2020-12-08 21:19:33 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-12-09 08:01:51 +0100
commit99917735b6a974a09d3833c34b3d4a8b8198522d (patch)
treeada9f19f71eaef6f5b44e9ba602532a0cf869dce /docs/linux
parent0cf8cfe99da5b555b835f967f3b3cd43f542c0f4 (diff)
docs/linux: fix up example qemu command for Ubuntu
setup_ubuntu-host_qemu-vm_x86-64-kernel.md recommends using create_image.sh to create a Debian Stretch VM image. The script configures the image assuming that the kernel will be booted with predictable network device naming disabled, which syz-manager currently does but the example qemu command in the setup document does not. To avoid confusing the user, add "net.ifnames=0" to the example qemu command to disable predictable device naming. If not the VM fails to bring up network interfaces and is then inaccessible via. ssh.
Diffstat (limited to 'docs/linux')
-rw-r--r--docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md b/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
index faa087c60..7a147dbf5 100644
--- a/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
+++ b/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
@@ -128,7 +128,7 @@ qemu-system-x86_64 \
-m 2G \
-smp 2 \
-kernel $KERNEL/arch/x86/boot/bzImage \
- -append "console=ttyS0 root=/dev/sda earlyprintk=serial" \
+ -append "console=ttyS0 root=/dev/sda earlyprintk=serial net.ifnames=0" \
-drive file=$IMAGE/stretch.img,format=raw \
-net user,host=10.0.2.10,hostfwd=tcp:127.0.0.1:10021-:22 \
-net nic,model=e1000 \