From 99917735b6a974a09d3833c34b3d4a8b8198522d Mon Sep 17 00:00:00 2001 From: Tom Parkin Date: Tue, 8 Dec 2020 21:19:33 +0000 Subject: 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. --- docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/linux') 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 \ -- cgit mrf-deployment