Skip to content

Instantly share code, notes, and snippets.

@thebiss
Last active September 19, 2022 22:45
Show Gist options
  • Save thebiss/5333ba1322530917441c9e31cf3fd574 to your computer and use it in GitHub Desktop.
Save thebiss/5333ba1322530917441c9e31cf3fd574 to your computer and use it in GitHub Desktop.
Bhyve under PFSense 2.5

Background

Getting it working under BHYVE follows the same general steps as https://github.com/churchers/vm-bhyve/#quick-start

Steps

pkg install vm-bhyve
  • Create a directory for VMs. (This distribution doesn't run ZFS by default.)
mkdir -p /usr/local/vms
  • Enable virtualization in the kernel and specify the VM dir (this edits /etc/rc.conf.local):
sysrc vm_enable="YES"
sysrc vm_dir="/usr/local/vms"
  • Reboot, to enable the vmm kernel module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment