mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Simplify boot conditional
This commit is contained in:
parent
9cb78e1fb7
commit
e2fed9c51f
1 changed files with 1 additions and 1 deletions
2
quickemu
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…
Reference in a new issue