This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/churchers/vm-bhyve/wiki | |
pkg install vm-bhyve grub2-bhyve | |
zfs create zroot/vm | |
echo 'vm_enable="YES"' >> /etc/rc.conf | |
echo 'vm_dir="zfs:zroot/vm"' >> /etc/rc.conf | |
vm init | |
cp /usr/local/share/examples/vm-bhyve/* /zroot/vm/.templates/ | |
vm switch create public | |
vm switch add public em0 |
NewerOlder