diff --git a/rsync.sh b/rsync.sh index d59c59b..37b9a62 100755 --- a/rsync.sh +++ b/rsync.sh @@ -69,9 +69,10 @@ echo "Options: $opts $extra_args" for host in "${rsync_hosts[@]}" do - echo "Syncing to host: $host" + hostname="rsync.tier2.${host}.burble.dn42" + echo "Syncing to host: $hostname" rsync $opts --delete -e "ssh -i '${key}'" $extra_args \ - "$rsync_src" "root@${host}:${rsync_dst}" + "$rsync_src" "root@${hostname}:${rsync_dst}" done ##########################################################################