Richard Jones
summary
Creates a qcow2 overlay on a 20 GB backing LV with qemu-img, imports and boots it via virt-install + virt-viewer, then diffs backing vs overlay to show only ~21 MB of writes after a single boot. Uses libguest APIs (Perl bindings) to open the disk image, mount /, change /etc/shadow to set root, mark for SELinux autorelabel, and reboots — the injected password and relabel succeed. Covers virt-sysprep-style cloning, snapshots, storage backends (LVM, Btrfs, NBD/MBD), and that libvirt/libguest bindings exist for many languages.
AI-written summary · about
