only add null.iso if nulliso_fix is not off/no../false/0

This commit is contained in:
Matt Churchyard
2020-02-04 14:54:10 +00:00
parent 6e90fc9143
commit 55a31bbeb2
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@
# POSSIBILITY OF SUCH DAMAGE.
VERSION=1.5-devel
VERSION_INT=105007
VERSION_INT=105008
VERSION_BSD=$(uname -K)
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

View File

@@ -225,7 +225,7 @@ vm::run(){
# use null.iso if not an install and uefi firmware
# old instructions but some windows versions apparently needed this present
[ -z "${_iso}" -a "${_loader}" = "uefi" ] && \
[ -z "${_iso}" -a "${_loader}" = "uefi" ] && config::yesno "nulliso_fix" && \
_iso_dev="-s ${_install_slot}:0,ahci-cd,${vm_dir}/.config/null.iso"
# reasonably ugly hack to remove wait option after first run