From d9f67fa7a9d1f9c9a28c9104974a5038d61f72b7 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 16 Oct 2017 14:18:02 +0100 Subject: 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 --- xci/scripts/vm/start-new-vm.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xci') 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/ } -- cgit 1.2.3-korg