From 2a0ba4d10a33048ddbd21da896552e269e9beade Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 6 Dec 2021 15:02:54 +0000 Subject: [PATCH] Enable network during Windows installs --- README.md | 7 ------- quickemu | 6 +----- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index 3508560..78ac412 100644 --- a/README.md +++ b/README.md @@ -298,13 +298,6 @@ 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 b92bb05..f4c9c55 100755 --- a/quickemu +++ b/quickemu @@ -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)