On Thu, May 06, 2021 at 09:17:30AM -0600, Alan Somers wrote: >It's easy to build a UFS-based VM image just by setting WITH_VMIMAGES in >release.conf and running release.sh. But what about ZFS-based images? >What's the easiest way to build a ZFS-based VM image, using a pool layout >similar to what the interactive installer uses? >-Alan Hi, I don't know of a way with make release Briefly, the way I do zfs on amd64 vm is (given you're already set up on bhyve): a: truncate -s 64G filename.img b: sh vmrun.sh -c 4 -m 32768M -t tap1 -d filename.img -i -I freebsd-installer.iso vmname c: run through the installer, selecting auto-zfs on the way. d: stop the reboot, run the vmrun.sh again and omit the -i -I freebsd-installer.iso bit (in my context, vmrun.sh is a symlink to /usr/share/examples/bhyve/vmrun.sh in the dir i'm working in) [section 22.7 FreeBSD as a Host with bhyve] -- J.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC