From bf5b9bce57d60b171ae1fb32c636cd2224b82bbc Mon Sep 17 00:00:00 2001 From: superconvert <48017165+superconvert@users.noreply.github.com> Date: Wed, 3 Aug 2022 13:42:49 +0800 Subject: [PATCH] Update 03_run_qemu.sh --- 03_run_qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_run_qemu.sh b/03_run_qemu.sh index 6378623..85fb703 100755 --- a/03_run_qemu.sh +++ b/03_run_qemu.sh @@ -98,7 +98,7 @@ fi rm -rf ./qemu.log disk="-drive format=raw,file=disk.img" logfile="-serial file:./qemu.log" -network="-netdev tap,id=nd0,ifname=tap0 -device e1000,netdev=nd0" +network="-netdev tap,id=nd0,ifname=tap0,script=no,downscript=no -device e1000,netdev=nd0" # 启动镜像 网络对应 run_nat.sh 里面的配置 qemu-system-x86_64 ${disk} ${sdb_img} ${network} ${logfile}