Version 0.14.1
This is a bug fix release to fix bugs in the 0.14 release that slipped through due to insufficient testing.
The shell plugin source file was misnamed. Fixed now.
Fixes to problems found while building real images. The new
check-externalscript builds my own images, and Debian's Raspberry Pi images.
Version 0.14, released 2020-03-21
It has been two years since the previous release. These release notes are a little sketchy.
All plugins now provide exactly one type of step. This is a little simpler than having multiple steps provided by the same plugin. Simplicity is good.
There is now some better automated testing.
vmdb2 now checks at start time that all required keys are set for all steps and that keys have values of the correct type.
Source code for vmdb2 is now hosted on gitlab.com and git.liw.fi, moved there from GitHub.
Fixed smoke test timeout for starting a VM to 5 min. The previous timeout (30 s) was short enough that tests often failed because of it.
The
debootstrapaction now finishes withapt-get update. For some reason thing had changed so that this became necessary.Christian Schlüter added the optional
labelfield to themkfsstep to set the filesystem label upon creation.Changed the
grubstep to take an optionalimage-devfield to override the heuristics for finding the device where GRUB is to be installed. This was necessary to allow vmdb2 to install Debian onto real hardware.The smoke test now tests a UEFI image as well.
The rootfs unpacking action now copies
/etc/resolv.confinto the chroot, overwriting what the tarball has. This allows vmdb2 to work with a tarball generated in a different network location.Add plugins for doing full-disk encryption via cryptsetup, and LVM2.
There is now some documentation.
Christian Schlüter added support for f2fs labels in the
mkfsstep.Step runners may now implement the
run_even_if_skippedmethod to have code that is run whether the step is skipped or not. Thedebootstrapstep now uses this to runapt-get updatealways. This allows a rootfs tarball that is old to be used, without the Packages files being too old to be usable.The
cache_rootfsstep now caches all the explicitly mounted filesystems, not just the root filesystem.