On 05/08/2021 15:06, David Chisnall wrote:
Would poudriere work for you? man poudriere-image
Wow, there's a lot of stuff I didn't know poudriere could do! It looks
as if it can produce a GPT partition table with all of the bootable
bits, or it can produce a ZFS disk image. I guess it wouldn't be too
difficult to teach it to do both?
FYI: I have raised a PR[1] that allows me to create a ZFS disk image.
This allows me to create a ZFS root image that I can boot as a Gen1 or
Gen2 Hyper-V VM. I have not yet tried it in Azure, but it should work.
David
[1] https://github.com/freebsd/poudriere/pull/921