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

@ -298,6 +298,13 @@ and [Windows 11](https://www.microsoft.com/en-gb/software-download/windows11)
along with the [VirtIO drivers for Windows](https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/)
and creates a virtual machine configuration.
**During the Windows install network interfaces are completely disabled!** This
is to allow those users who want to create local accounts to do so. A side affect
is that the first time **Windows boots with the QEMU network enabled it will blue
screen, automatically restart and then start normally with fully functioning
networking**.
```bash
quickget windows 11
quickemu --vm windows-11.conf

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)