From 669208c3e99dbc54e30a0dcde9a86a7f42db2578 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 12 Dec 2015 14:58:43 +0000 Subject: [PATCH] 2015-virt-tools: Don't clean files when run in --quick mode. --- 2015-virt-tools/run | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/2015-virt-tools/run b/2015-virt-tools/run index 9a80550..bd67b29 100755 --- a/2015-virt-tools/run +++ b/2015-virt-tools/run @@ -7,10 +7,6 @@ set -e export GNOME_KEYRING_CONTROL= export GNOME_KEYRING_PID= -# Clean up everything. -find -name '*~' -delete -rm -f [1-9]000-*.d/* - # No proxy. #unset http_proxy #unset https_proxy @@ -21,6 +17,10 @@ guestfish -a /dev/null run || exit 1 # If not 'quick mode', create the initial images. if [ "$1" != "--quick" ]; then + # Clean up everything. + find -name '*~' -delete + rm -f [1-9]000-*.d/* + pushd 1000-virt-resize.d virt-builder --format qcow2 fedora-22 popd -- 1.8.3.1