From: Markos Chandras Date: Mon, 16 Oct 2017 13:18:02 +0000 (+0100) Subject: xci: scripts: start-new-vm.sh: Skip all qcow2 files X-Git-Tag: 6.0.0~260 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=d9f67fa7a9d1f9c9a28c9104974a5038d61f72b7;p=releng-xci.git 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 --- 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/ }