mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-20 00:02:03 +02:00
Vars refactor: Tidy up initial vars layout
This commit is contained in:
parent
eebd5f0605
commit
dbd0885f82
7
quickemu
7
quickemu
|
@ -311,22 +311,25 @@ function usage() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Lowercase variables are used in the VM config file only
|
||||||
guest_os=""
|
guest_os=""
|
||||||
iso=""
|
iso=""
|
||||||
driver_iso=""
|
driver_iso=""
|
||||||
disk_img=""
|
disk_img=""
|
||||||
disk=""
|
disk=""
|
||||||
|
|
||||||
DELETE=0
|
DELETE=0
|
||||||
ENABLE_EFI=0
|
ENABLE_EFI=0
|
||||||
SNAPSHOT_ACTION=""
|
SNAPSHOT_ACTION=""
|
||||||
SNAPSHOT_TAG=""
|
SNAPSHOT_TAG=""
|
||||||
STATUS_QUO=""
|
STATUS_QUO=""
|
||||||
VM=""
|
VM=""
|
||||||
|
|
||||||
|
readonly LAUNCHER=$(basename $0)
|
||||||
readonly DISK_MIN_SIZE=$((197632 * 8))
|
readonly DISK_MIN_SIZE=$((197632 * 8))
|
||||||
readonly QEMU="/snap/bin/qemu-virgil"
|
readonly QEMU="/snap/bin/qemu-virgil"
|
||||||
readonly QEMU_IMG="/snap/bin/qemu-virgil.qemu-img"
|
readonly QEMU_IMG="/snap/bin/qemu-virgil.qemu-img"
|
||||||
readonly LAUNCHER=$(basename $0)
|
readonly VIRGIL_PATH="/snap/qemu-virgil/current"
|
||||||
|
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user