mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 17:30:23 +01:00
only add null.iso if nulliso_fix is not off/no../false/0
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user