89585511cc
The change extends vmimage.subr to handle a new parameter, VMFS, which should be equal to either "ufs" or "zfs". When it is set to ZFS, we use makefs to create a bootable pool populated using the same dataset layout as bsdinstall and "poudriere image" use. The pool can be grown using the growfs rc.d script, just as in UFS images. This will make it easy to provide VM and cloud images with ZFS as the root filesystem. So far I did not do extensive testing of cloud images; I merely verified that creation of ZFS-based AWS AMIs works and allows me to create amd64 and arm64 EC2 instances with ZFS as the root filesystem. Reviewed by: emaste, gjb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34426 |
||
---|---|---|
.. | ||
amd64 | ||
arm | ||
arm64 | ||
i386 | ||
packages | ||
pkg_repos | ||
powerpc | ||
riscv | ||
scripts | ||
tools | ||
Makefile | ||
Makefile.azure | ||
Makefile.ec2 | ||
Makefile.gce | ||
Makefile.inc1 | ||
Makefile.mirrors | ||
Makefile.vagrant | ||
Makefile.vm | ||
rc.local | ||
release.conf.sample | ||
release.sh |