Apply display= if set in the VM configuration. Close #520

pull/561/head
Martin Wimpress 2 years ago
parent dc86cd6098
commit a29dcef6ed
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 6
      quickemu

@ -1422,6 +1422,7 @@ boot="efi"
cpu_cores=""
disk_img=""
disk_size=""
display=""
extra_args=""
fixed_iso=""
floppy=""
@ -1665,6 +1666,10 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
disk_size="${disk}"
fi
if [ -n "${display}" ]; then
OUTPUT="${display}"
fi
# Set the default OUTPUT if not provided by user
if [ -z "${OUTPUT}" ]; then
OUTPUT="sdl"
@ -1674,6 +1679,7 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
if [ -n "${BRAILLE}" ]; then
OUTPUT="sdl"
fi
display_param_check
if [ -z "${VIEWER}" ]; then
VIEWER="${viewer}"

Loading…
Cancel
Save