Add --efi option

This commit is contained in:
Martin Wimpress 2020-03-15 23:33:52 +00:00
parent 30556ab9df
commit 58edab1f82

View file

@ -121,9 +121,15 @@ VM=""
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
case "${1}" in case "${1}" in
-efi|--efi)
BIOS="-bios /usr/share/qemu/OVMF.fd"
shift;;
-delete|--delete) -delete|--delete)
DELETE=1 DELETE=1
shift;; shift;;
-legacy|--legacy)
BIOS=""
shift;;
-restore|--restore) -restore|--restore)
SNAPSHOT=1 SNAPSHOT=1
shift;; shift;;