From 6931240becb6cd7d1c31697ebfeff1ed66c8c1f3 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 14 Sep 2012 17:11:01 +0200 Subject: [PATCH] mirror to dc1+dc2 too --- liveboot_build.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/liveboot_build.sh b/liveboot_build.sh index 3652ada..52dd670 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -23,7 +23,8 @@ RSYNC_DST2="liveboot@10.251.1.1/liveboot/" RSYNC_DST3="liveboot@10.254.1.1/liveboot/" # staging (mgmt9) RSYNC_DST4="liveboot@10.252.1.1/liveboot/" -# TODO: DC1 + DC2 +# dc1+2 (mgmt1) +RSYNC_DST5="liveboot@10.1.1.1/liveboot/" BUILD_SCRIPT=$(mktemp) cat > $BUILD_SCRIPT <<-EOF @@ -76,11 +77,9 @@ 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" - +echo "Now rsyncing results to $RSYNC_DST5 ..." +rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST5 +figlet "mirror to DC1+2 OK" du -sh /srv/mirror/liveboot - figlet "OK" - -- 2.39.5