Open
Description
FreeBSD 12 has support for jailed bhyve VMs, see https://reviews.freebsd.org/D16057
The configuration option allow_vmm
(as used by iocage/iocage) is inviting because the manual configuration requires changes to devfs_rules and jail parameters.
- A ZFS volume
- A null-modem device (
nmdm(4)
) - UEFI GOP (no devfs rule, but IP assigned to the jail)
- A tap device
devfs_rules.conf
[devfs_rules_bhyve_jail=25]
add include $devfsrules_jail
add path vmm unhide
add path vmm/* unhide
add path tap* unhide
add path zvol/tank/bhyve/* unhide
add path nmdm* unhide
jail parameters
allow.vmm: 1
ip4.addr: <IP4Address>