freebsd-src/release/tools
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
..
arm.subr release: link from /boot/msdos to efi 2022-10-11 13:19:52 -06:00
azure.conf Update Azure release bits 2021-10-02 04:59:10 +08:00
basic-ci.conf release: fix VMSIZE following 1ca8842f3a 2021-03-04 08:43:02 -05:00
ec2.conf release: Add support for creating ZFS-based VM images 2022-10-28 17:00:24 -04:00
gce.conf Correct typo in soacceptqueue setting 2022-10-11 13:03:04 -04:00
openstack.conf multi-boot for openstack/qcow images 2020-01-27 22:40:03 +00:00
vagrant-virtualbox.conf Remove /etc/resolv.conf from virtual machine images, which is 2017-11-21 18:02:18 +00:00
vagrant-vmware.conf Remove /etc/resolv.conf from virtual machine images, which is 2017-11-21 18:02:18 +00:00
vagrant.conf release: allow VM_EXTRA_PACKAGES to be specified in the environment 2021-08-09 10:31:51 -06:00
vmimage.subr release: Add support for creating ZFS-based VM images 2022-10-28 17:00:24 -04:00