# TODO: WORK IN PROGRESS
# ri server
RSYNC_DST1="liveboot@riserver/liveboot/"
+# storage DC (mgmt11)
+RSYNC_DST2="liveboot@10.251.1.1/liveboot/"
# pbb (mgmt5)
-RSYNC_DST2="liveboot@10.254.1.1/liveboot/"
+RSYNC_DST3="liveboot@10.254.1.1/liveboot/"
# staging (mgmt9)
-RSYNC_DST3="liveboot@10.252.1.1/liveboot/"
-
+RSYNC_DST4="liveboot@10.252.1.1/liveboot/"
BUILD_SCRIPT=$(mktemp)
cat > $BUILD_SCRIPT <<-EOF
figlet "mirror to r+i OK"
echo "Now rsyncing results to $RSYNC_DST2 ..."
rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST2
-figlet "mirror to pbb OK"
+figlet "mirror to storage-dc OK"
echo "Now rsyncing results to $RSYNC_DST3 ..."
rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST3
+figlet "mirror to pbb OK"
+echo "Now rsyncing results to $RSYNC_DST4 ..."
+rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST4
figlet "mirror to staging OK"
echo "mirror to DCs is MISSING"