From 4ceb47ee4be01f0fe573303ec17c94d5a0dcf4f1 Mon Sep 17 00:00:00 2001 From: Joe Maloney Date: Fri, 23 Mar 2018 04:31:58 -0400 Subject: [PATCH] Do not attach null.iso when starting VMs * This causes issues booting newer versions of FreeBSD 11-STABLE, and CURRENT snapshots. --- lib/vm-run | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/vm-run b/lib/vm-run index dc3e62f8..7bbdef3b 100644 --- a/lib/vm-run +++ b/lib/vm-run @@ -209,9 +209,9 @@ vm::run(){ # set full iso path # use null.iso if not an install and uefi firmware - [ -n "${_iso}" ] && _iso_dev="-s 3:0,ahci-cd,${_iso}" - [ -z "${_iso}" -a -n "${_uefi}" -a "${_uefi}" != "csm" ] && \ - _iso_dev="-s 3:0,ahci-cd,${vm_dir}/.config/null.iso" + #[ -n "${_iso}" ] && _iso_dev="-s 3:0,ahci-cd,${_iso}" + #[ -z "${_iso}" -a -n "${_uefi}" -a "${_uefi}" != "csm" ] && \ + # _iso_dev="-s 3:0,ahci-cd,${vm_dir}/.config/null.iso" # reasonably ugly hack to remove wait option after first run [ "${_run}" -eq "2" ] && vm::bhyve_device_fbuf_clear_wait