From 2948dbaa3375482005eff95c26e4b231b054c915 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 1 Nov 2012 18:02:09 +0000 Subject: [PATCH] deployment: try workaround to solve annoying replication issue This is getting more and more hilarious, let's see if we can get this under control using that... From: Michael Prokop --- deployment.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deployment.sh b/deployment.sh index 41cb2a7..fe83de9 100755 --- a/deployment.sh +++ b/deployment.sh @@ -870,6 +870,10 @@ EOF if "$RETRIEVE_MGMT_CONFIG" ; then echo "Retrieving /etc/hosts configuration from management server" wget --timeout=30 -O "$TARGET/etc/hosts" "${MANAGEMENT_IP}:3000/hostconfig/$(cat ${TARGET}/etc/hostname)" + + echo "# replication workaround" >> $TARGET/etc/hosts + echo "127.0.0.1 $HOSTNAME" >> $TARGET/etc/hosts + echo "# end of replication workaround" >> $TARGET/etc/hosts fi if "$PRO_EDITION" ; then