From f1cb6a7394521ea14623239a8997b08bb51fbe90 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Mon, 4 Oct 2010 19:18:58 +0200 Subject: [PATCH] qubeize_image_appvm: call cleanup_image automatically at the end --- README | 4 ---- qubeize_image_appvm | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README b/README index dd9dea0..f3aa9f2 100644 --- a/README +++ b/README @@ -27,10 +27,6 @@ of Qubes-specific rpms to install you want to use (e.g. qubes-gui-vm, etc). # ./qubeize_image -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 files you want to use for the template: diff --git a/qubeize_image_appvm b/qubeize_image_appvm index f880e55..a6ed896 100755 --- a/qubeize_image_appvm +++ b/qubeize_image_appvm @@ -59,3 +59,5 @@ umount mnt echo "Qubeized image stored at: $IMG" +echo "Reducing image size (calling cleanup_image)..." +./cleanup_image $IMG