summaryrefslogtreecommitdiffstats
path: root/xci
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-10-16 14:18:02 +0100
committerMarkos Chandras <mchandras@suse.de>2017-10-16 14:25:44 +0100
commitd9f67fa7a9d1f9c9a28c9104974a5038d61f72b7 (patch)
tree5146d3809a762340f088d18d9b2d779df2d4cab7 /xci
parent9036d1c5fde99a57c08528293784de653efab675 (diff)
xci: scripts: start-new-vm.sh: Skip all qcow2 files
We may have qcow2 files around from previous deployments so make sure they are not copied to the newly created VM. Change-Id: I35a8d72355ffff4678b611e09aedc8667f29a7f1 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci')
-rwxr-xr-xxci/scripts/vm/start-new-vm.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh
index 9b5cdd8e..75ef1cdf 100755
--- a/xci/scripts/vm/start-new-vm.sh
+++ b/xci/scripts/vm/start-new-vm.sh
@@ -303,9 +303,11 @@ EOF
# Need to copy releng-xci to the vm so we can execute stuff
do_copy() {
rsync -a \
+
--exclude "${VM_NAME}*" \
--exclude "${OS}*" \
--exclude "build.log" \
+ --exclude "*.qcow2*" \
-e "$vm_ssh" ${BASE_PATH}/ ${VM_NAME}:~/releng-xci/
}