Update 03_run_qemu.sh

This commit is contained in:
superconvert 2022-08-03 13:42:49 +08:00 committed by GitHub
parent a44a428648
commit bf5b9bce57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}