Re-disabled network for re-appearance of #115

This commit is contained in:
Phil 2021-12-05 13:07:01 +00:00 committed by Martin Wimpress
parent 98ee949a6b
commit f8aee430ec
2 changed files with 12 additions and 1 deletions

View file

@ -866,7 +866,11 @@ function vm_boot() {
-monitor none
-serial mon:stdio)
if [ -n "${bridge}" ]; then
# re-instate old fix for #115
if [ "${guest_os}" == "windows" ] && [ -n "${iso}" ]; then
args+=(-nic none)
elif [ -n "${bridge}" ]; then
# Enable bridge mode networking
# shellcheck disable=SC2054,SC2206
args+=(-nic bridge,br=${bridge},model=virtio-net-pci)