From dbd0885f825527529689d1d8dea595e93bc53ec3 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 21 Mar 2020 11:05:31 +0000 Subject: [PATCH] Vars refactor: Tidy up initial vars layout --- quickemu | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index 6a2da1c..eaae748 100755 --- a/quickemu +++ b/quickemu @@ -311,22 +311,25 @@ function usage() { exit 1 } +# Lowercase variables are used in the VM config file only guest_os="" iso="" driver_iso="" disk_img="" disk="" + DELETE=0 ENABLE_EFI=0 SNAPSHOT_ACTION="" SNAPSHOT_TAG="" STATUS_QUO="" VM="" + +readonly LAUNCHER=$(basename $0) readonly DISK_MIN_SIZE=$((197632 * 8)) readonly QEMU="/snap/bin/qemu-virgil" readonly QEMU_IMG="/snap/bin/qemu-virgil.qemu-img" -readonly LAUNCHER=$(basename $0) - +readonly VIRGIL_PATH="/snap/qemu-virgil/current" while [ $# -gt 0 ]; do case "${1}" in