Apply display= if set in the VM configuration. Close #520
This commit is contained in:
parent
dc86cd6098
commit
a29dcef6ed
6
quickemu
6
quickemu
@ -1422,6 +1422,7 @@ boot="efi"
|
|||||||
cpu_cores=""
|
cpu_cores=""
|
||||||
disk_img=""
|
disk_img=""
|
||||||
disk_size=""
|
disk_size=""
|
||||||
|
display=""
|
||||||
extra_args=""
|
extra_args=""
|
||||||
fixed_iso=""
|
fixed_iso=""
|
||||||
floppy=""
|
floppy=""
|
||||||
@ -1665,6 +1666,10 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
|
|||||||
disk_size="${disk}"
|
disk_size="${disk}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "${display}" ]; then
|
||||||
|
OUTPUT="${display}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Set the default OUTPUT if not provided by user
|
# Set the default OUTPUT if not provided by user
|
||||||
if [ -z "${OUTPUT}" ]; then
|
if [ -z "${OUTPUT}" ]; then
|
||||||
OUTPUT="sdl"
|
OUTPUT="sdl"
|
||||||
@ -1674,6 +1679,7 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
|
|||||||
if [ -n "${BRAILLE}" ]; then
|
if [ -n "${BRAILLE}" ]; then
|
||||||
OUTPUT="sdl"
|
OUTPUT="sdl"
|
||||||
fi
|
fi
|
||||||
|
display_param_check
|
||||||
|
|
||||||
if [ -z "${VIEWER}" ]; then
|
if [ -z "${VIEWER}" ]; then
|
||||||
VIEWER="${viewer}"
|
VIEWER="${viewer}"
|
||||||
|
Loading…
Reference in New Issue
Block a user