Difference between revisions of "Set up iohyve in FreeBSD"

From Aram's Wiki
Jump to: navigation, search
(Created page with "== Introduction == [https://github.com/pr1ntf/iohyve iohyve] is a bhyve manager for FreeBSD, similar to [https://iocage.readthedocs.io/ iocage]. == Prerequisites == Recent...")
 
(No difference)

Revision as of 14:59, 13 March 2019

Introduction

iohyve is a bhyve manager for FreeBSD, similar to iocage.

Prerequisites

Recent enough FreeBSD with ZFS. All commands below run as root.

Install

pkg install iohyve
pkg install grub2-bhyve # For non-FreeBSD guests

Configure

iohyve setup pool=tank1 kmod=1 net=bge0

Adjust ZFS pool and NIC as needed.

Add to rc.conf:

iohyve_enable="YES"
iohyve_flags="kmod=1 net=bge0"