From f8aee430ecce2ab687c057842382460e20166e60 Mon Sep 17 00:00:00 2001 From: Phil Date: Sun, 5 Dec 2021 13:07:01 +0000 Subject: [PATCH] Re-disabled network for re-appearance of #115 --- README.md | 7 +++++++ quickemu | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d3e1e4e..326dae5 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/quickemu b/quickemu index b7ca0ca..144c4cf 100755 --- a/quickemu +++ b/quickemu @@ -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)