6 # Avoid GNOME keyring stupidity
7 export GNOME_KEYRING_CONTROL=
8 export GNOME_KEYRING_PID=
15 # Get everything into the cache.
16 guestfish -a /dev/null run || exit 1
18 # If not 'quick mode', create the initial images.
19 if [ "$1" != "--quick" ]; then
20 # Clean up everything.
21 find -name '*~' -delete
24 pushd 1000-virt-resize.d
25 virt-builder --format qcow2 fedora-22
28 pushd 2000-virt-sparsify.d
29 qemu-img convert ../1000-virt-resize.d/fedora-22.qcow2 -O raw -o preallocation=falloc fedora-22.img
32 pushd 3000-virt-customize.d
33 qemu-img convert ../1000-virt-resize.d/fedora-22.qcow2 -O raw fedora-22.img
36 pushd 4000-virt-sysprep.d
37 qemu-img convert ../1000-virt-resize.d/fedora-22.qcow2 -O raw fedora-22.img
40 pushd 5000-virt-builder.d
46 ~/d/techtalk-pse/techtalk-pse