Make casing of status output consistent

This commit is contained in:
Martin Wimpress 2020-03-21 11:15:51 +00:00
parent ce5aecd33d
commit ab286f39b7
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3

View File

@ -235,15 +235,15 @@ function vm_boot() {
fi fi
if [ "${VIDEO_DRV}" == "qxl" ]; then if [ "${VIDEO_DRV}" == "qxl" ]; then
echo " - Video: QXL" echo " - Video: ${VIDEO_DRV^^}"
local VIDEO_DEV=" -vga ${VIDEO_DRV}" local VIDEO_DEV=" -vga ${VIDEO_DRV}"
VIRGL="off" VIRGL="off"
else else
echo " - Video: VirtIO-VGA" echo " - Video: ${VIDEO_DRV^^[v,g,a]}"
local VIDEO_DEV="-device ${VIDEO_DRV},virgl=${VIRGL},X_RES=${X_RES},Y_RES=${Y_RES}" local VIDEO_DEV="-device ${VIDEO_DRV},virgl=${VIRGL},X_RES=${X_RES},Y_RES=${Y_RES}"
fi fi
echo " - GL: ${GL}" echo " - GL: ${GL^^}"
echo " - Virgil3D: ${VIRGL}" echo " - Virgil3D: ${VIRGL^^}"
echo " - Output: ${UI^^}" echo " - Output: ${UI^^}"
# Set the hostname of the VM # Set the hostname of the VM