Difference between revisions of "Set up vm-bhyve in FreeBSD"

From Aram's Wiki
Jump to: navigation, search
(Created page with "Category:FreeBSD == Introduction == [https://github.com/churchers/vm-bhyve vm-bhyve] is a bhyve manager for FreeBSD. == Prerequisites == Recent enough FreeBSD with ZFS...")
 
(Configure)
Line 22: Line 22:
 
  vm_enable="YES"
 
  vm_enable="YES"
 
  vm_dir="zfs:tank1/vm"0"
 
  vm_dir="zfs:tank1/vm"0"
 +
 +
Then run:
 +
 +
vm init
  
 
== References ==
 
== References ==

Revision as of 14:02, 19 November 2019


Introduction

vm-bhyve is a bhyve manager for FreeBSD.

Prerequisites

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

Install

pkg install vm-bhyve
pkg install grub2-bhyve bhyve-firmware # For non-FreeBSD guests

Configure

zfs create tank1/vm

Add to rc.conf:

vm_enable="YES"
vm_dir="zfs:tank1/vm"0"

Then run:

vm init

References