From ced9942db6e1cc2b8c396981bef2bab8cbb7e12b Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 17 Jan 2024 20:12:13 +0100 Subject: [PATCH] fix: Undefined boot mode (#342) --- src/install.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/install.sh b/src/install.sh index d935da8..6da87e5 100644 --- a/src/install.sh +++ b/src/install.sh @@ -12,22 +12,6 @@ else PROGRESS="--progress=dot:giga" fi -if [[ "${BOOT_MODE,,}" == "windows" ]]; then - - DEST="$STORAGE/drivers.img" - - if [ ! -f "$DEST" ]; then - - info "Downloading VirtIO drivers for Windows..." - DRIVERS="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso" - - { wget "$DRIVERS" -O "$DEST" -q --no-check-certificate --show-progress "$PROGRESS"; rc=$?; } || : - - (( rc != 0 )) && info "Failed to download $DRIVERS, reason: $rc" && rm -f "$DEST" - - fi -fi - BASE="boot.img" [ -f "$STORAGE/$BASE" ] && return 0