This tutorial by user shows us how to get a FreeBSD virtual machine setup on xhyve. xhyve, a port of bhyve, is a virtualization platform for Mac OS X operating system. See the link below for the full instructions.
TL;DR
- Create 5GB FreeBSD image.
- Install FreeBSD on xhyve.
- Mount host directory.
Requisites
$ brew install xhyve --HEAD
Create Guest Image …
Full tutorial: https://gist.github.com/tanb/f8fefa22332edc7a641d