Enable network during Windows installs

This commit is contained in:
Martin Wimpress 2021-12-06 15:02:54 +00:00 committed by Martin Wimpress
parent 9210054c05
commit 2a0ba4d10a
2 changed files with 1 additions and 12 deletions

View file

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