From 289eef91fe2cab46b215d9d8b41ebb716dd73c4c Mon Sep 17 00:00:00 2001
From: Markos Chandras <mchandras@suse.de>
Date: Wed, 4 Oct 2017 09:51:14 +0100
Subject: [PATCH] xci: scripts: start-new-vm.sh: Copy hidden files and
 directories

Fix the rsync command to also copy the hidden files and directories.
Copying the .git directory allows us to quickly inspect any file
changes when investigating bug reports and other problems.

Change-Id: I4e6feeea77d5c3b23362a216206c5970b4900169
Signed-off-by: Markos Chandras <mchandras@suse.de>
---
 xci/scripts/vm/start-new-vm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh
index b6ed2be9..4ad41f64 100755
--- a/xci/scripts/vm/start-new-vm.sh
+++ b/xci/scripts/vm/start-new-vm.sh
@@ -257,7 +257,7 @@ do_copy() {
 		--exclude "${VM_NAME}*" \
 		--exclude "${OS}*" \
 		--exclude "build.log" \
-		-e "$vm_ssh" ${BASE_PATH}/* $_ip:~/releng-xci/
+		-e "$vm_ssh" ${BASE_PATH}/ $_ip:~/releng-xci/
 }
 
 do_copy
-- 
2.16.6