Simplify boot conditional

pull/61/head
Martin Wimpress 3 years ago
parent 9cb78e1fb7
commit e2fed9c51f
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 2
      quickemu

@ -517,7 +517,7 @@ function vm_boot() {
# Add the disks
# - https://turlucode.com/qemu-disk-io-performance-comparison-native-or-threads-windows-10-version/
if [ "${boot}" == "efi" ] || [ "${boot}" == "uefi" ]; then
if [[ "${boot}" == *"efi"* ]]; then
# shellcheck disable=SC2054
args+=(-drive if=pflash,format=raw,readonly=on,file="${EFI_CODE}"
-drive if=pflash,format=raw,file="${EFI_VARS}")

Loading…
Cancel
Save