I don't know of any way to do it using the official release scripts either. One problem is that every ZFS pool and file system is supposed to have a unique GUID. So any kind of ZFS release builder would need to re-guid the pool on first boot.
On Thu, Aug 5, 2021, 6:41 AM David Chisnall <[email protected]> wrote: > Hi, > > Does anyone know how to build ZFS disk images from any existing tooling? > > I haven't used UFS for over a decade now and the official cloud images > are all UFS, so I end up doing an install from the CD ISO into Hyper-V > locally and then exporting the VHD, but that can't be the most efficient > way of getting a FreeBSD VHD with ZFS. > > I haven't been able to find any documentation and reading the release > scripts they seem to hard-code UFS. > > David > >
