]> git.parisson.com Git - clone-me.git/commitdiff
fix /
authorGuillaume Pellerin <yomguy@parisson.com>
Sat, 19 Jul 2014 19:55:03 +0000 (21:55 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sat, 19 Jul 2014 19:55:03 +0000 (21:55 +0200)
tc_clone_nuc.sh

index 24e43be8f63d35fdc2e3d7331299f955009c0954..1f3c783c75120526d08eb4df4e2a66f43b7c18af 100755 (executable)
@@ -31,7 +31,7 @@ fi
 # CLONING
 mount /dev/$ROOT_PART $CLONE
 echo "rsyncing root..."
-rsync -a --delete --one-file-system $MASTER_HOST:$MASTER_PATH/ $CLONE/
+rsync -a --delete --exclude "/var/*" --exclude "/home/*" --one-file-system $MASTER_HOST:$MASTER_PATH/ $CLONE/
 
 echo "rsyncing var..."
 DEST=$CLONE/var