aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/sync-tpc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-31 19:48:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-31 19:48:02 -0300
commit4b1598690c8859acbe6e2779496f05020921c9ae (patch)
treec9526e4f74abcb32d46e0de3a7007c09afe2d512 /share/hydractl/sync-tpc
parentd6ed8f17ce9f5ba0954b46e63c03fd3667b03b47 (diff)
downloadhydra-4b1598690c8859acbe6e2779496f05020921c9ae.tar.gz
hydra-4b1598690c8859acbe6e2779496f05020921c9ae.tar.bz2
Adds .sync-tpc-ignore support at sync-tpc
Diffstat (limited to 'share/hydractl/sync-tpc')
-rwxr-xr-xshare/hydractl/sync-tpc2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/sync-tpc b/share/hydractl/sync-tpc
index 971ab53..a24f00b 100755
--- a/share/hydractl/sync-tpc
+++ b/share/hydractl/sync-tpc
@@ -72,7 +72,7 @@ fi
#$SUDO $RSYNC /var/cache/vagrant/ $DEST/var/cache/vagrant/
# Sync qemu guest images
-if [ -d "/var/cache/qemu" ]; then
+if [ -d "/var/cache/qemu" ] && [ ! -e "$DEST/var/cache/qemu/.sync-tpc-ignore" ]; then
hydractl sync-guestfs /var/cache/qemu $DEST/var/cache/qemu
fi