diff options
-rw-r--r-- | TODO.md | 4 | ||||
-rwxr-xr-x | share/hydractl/sync-tpc | 2 |
2 files changed, 2 insertions, 4 deletions
@@ -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 |