Unable to start a linux VM.

```
qemu-system-x86_64: -device virtio-vga,xres=,yres=: Parameter 'xres' expects uint64
```

This fixes a typo in the name of the variable used to determine a sane resolution for linux guests.
This commit is contained in:
Yannick Mauray 2021-10-16 11:18:14 +02:00 committed by Martin Wimpress
parent 53e971f5f8
commit 448e8885e7

View file

@ -489,7 +489,7 @@ function vm_boot() {
fi
# Determine a sane resolution for Linux guests.
if [ "${guest}" == "linux" ]; then
if [ "${guest_os}" == "linux" ]; then
local X_RES=1152
local Y_RES=648
if [ "${XDG_SESSION_TYPE}" == "x11" ]; then