Skip to content

Instantly share code, notes, and snippets.

% sudo sh -v /usr/local/sbin/iohyve create testbsd 8G
#!/bin/sh
# iohyve v0.7.6 2016/06/12 "Rideau Street Sinkhole Edition"
# Set proper path thanks to iocage
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin
# Check to see if CPU is compatible with bhyve
if [ -n "$( grep 'POPCNT' /var/run/dmesg.boot )" ]; then