Skip to content

Commit

Permalink
Merge pull request araujobsd#2 from pkgdemon/patch-1
Browse files Browse the repository at this point in the history
Do not attach null.iso when starting VMs
  • Loading branch information
araujobsd authored Mar 23, 2018
2 parents f1d311d + 4ceb47e commit 29db2d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/vm-run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29db2d6

Please sign in to comment.