aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md4
-rwxr-xr-xshare/hydractl/sync-tpc2
2 files changed, 2 insertions, 4 deletions
diff --git a/TODO.md b/TODO.md
index 919d872..627996e 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,6 +1,4 @@
TODO
====
-* hydractl
- * sync-tpc: way to ignore /var/cache/qemu and other files from syncing,
- perhaps a .sync-tpc-ignore at the destination.
+Nothing here? :P
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