mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #-: Use $TAR instead of tar (#464)
This commit is contained in:
parent
8a3e5cb0da
commit
08c1915696
@ -149,8 +149,8 @@ else
|
||||
fi
|
||||
|
||||
cd $SRC_DIR
|
||||
tar --transform="flags=r;s|$SRC_FILE|$DST_FILE|" -cSf - $SRC_FILE \$SRC_SNAP | \
|
||||
ssh $REPLICA_SSH_OPTS ${REPLICA_STORAGE_IP:-$DST_HOST} "tar xSf - -C $DST_DIR"
|
||||
$TAR --transform="flags=r;s|$SRC_FILE|$DST_FILE|" -cSf - $SRC_FILE \$SRC_SNAP | \
|
||||
ssh $REPLICA_SSH_OPTS ${REPLICA_STORAGE_IP:-$DST_HOST} "$TAR xSf - -C $DST_DIR"
|
||||
EOF
|
||||
)
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user