freebsd-dev/release
Mark Johnston 89585511cc release: Add support for creating ZFS-based VM images
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
2022-10-28 17:00:24 -04:00
..
amd64 release: Support GNU stat in mkisoimages.sh 2022-07-15 23:04:48 +01:00
arm release: increase IMAGE_SIZE for arm, arm64, riscv 2022-07-13 14:36:22 -04:00
arm64 release: Support GNU stat in mkisoimages.sh 2022-07-15 23:04:48 +01:00
i386 release: Add support for building on non-FreeBSD 2022-02-28 22:37:37 +00:00
packages pkgbase: Create a FreeBSD-games package 2022-10-26 19:46:40 +02:00
pkg_repos
powerpc release: Add support for building on non-FreeBSD 2022-02-28 22:37:37 +00:00
riscv release: Support GNU stat in mkisoimages.sh 2022-07-15 23:04:48 +01:00
scripts release: Add support for creating ZFS-based VM images 2022-10-28 17:00:24 -04:00
tools release: Add support for creating ZFS-based VM images 2022-10-28 17:00:24 -04:00
Makefile release: Set loader_menu_multi_user_prompt to "Installer" for installer 2022-09-02 20:30:50 +01:00
Makefile.azure release: Remove unused variables in azure Makefile 2021-11-04 16:42:38 +08:00
Makefile.ec2 EC2: Default to UEFI booting 2021-09-16 12:23:19 -07:00
Makefile.gce release: sprinkle UNAME_r hacks following c883b6fd8c 2021-03-04 09:25:18 -05:00
Makefile.inc1 release: sync 'git count' logic with newvers.sh 2021-03-17 10:57:32 -04:00
Makefile.mirrors Append the branch commit count to _SNAP_SUFFIX for development 2020-12-16 18:40:49 +00:00
Makefile.vagrant release: Move the vagrant.vmx config out to its own file to match vbox 2021-03-12 09:44:42 -07:00
Makefile.vm release: Add support for creating ZFS-based VM images 2022-10-28 17:00:24 -04:00
rc.local bsdinstall release: Start installer on multiple consoles 2022-10-03 17:09:17 +01:00
release.conf.sample release: fix VMSIZE following 1ca8842f3a 2021-03-04 08:43:02 -05:00
release.sh release: fix ports checkout if /usr/ports does not exist 2021-05-12 12:08:59 -04:00