qubeize_image_appvm: call cleanup_image automatically at the end

This commit is contained in:
Joanna Rutkowska 2010-10-04 19:18:58 +02:00
parent 4bb4975a23
commit f1cb6a7394
2 changed files with 2 additions and 4 deletions

4
README
View File

@ -27,10 +27,6 @@ of Qubes-specific rpms to install you want to use (e.g. qubes-gui-vm, etc).
# ./qubeize_image <img> <template-name> # ./qubeize_image <img> <template-name>
3a) You should remove yum cached files, and override unused block with
zeroes, via
# ./cleanup_image qubeized_images/name-root.img
4) Make sure the symlinks in vm_kernels_XXX/ point to correct kernel and initramfs 4) Make sure the symlinks in vm_kernels_XXX/ point to correct kernel and initramfs
files you want to use for the template: files you want to use for the template:

View File

@ -59,3 +59,5 @@ umount mnt
echo "Qubeized image stored at: $IMG" echo "Qubeized image stored at: $IMG"
echo "Reducing image size (calling cleanup_image)..."
./cleanup_image $IMG