From 4f6a53e88411a1093affadf94e04ff5c8f8ae742 Mon Sep 17 00:00:00 2001 From: Erhard Rank Date: Tue, 27 Sep 2011 12:59:26 +0000 Subject: [PATCH] do not suggest setting HOSTNAME to other than sp1/sp2 using a custom hostname messes up heartbeat, collectd, and probably many other things --- profile_erank/default.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/profile_erank/default.sh b/profile_erank/default.sh index 1bddf7d..d5347b2 100644 --- a/profile_erank/default.sh +++ b/profile_erank/default.sh @@ -17,10 +17,8 @@ if "$PRO_EDITION" ; then EXTERNAL_DEV=eth0 # external device (==EIFACE, or trouble!) TARGET_DOMAIN=.mgm.sipwise.com case "$ROLE" in - sp1) EXTERNAL_IP=77.244.249.112 ; # external IP address of sp1 - TARGET_HOSTNAME=mysp1 ;; - sp2) EXTERNAL_IP=77.244.249.113 ; # external IP address of sp2 - TARGET_HOSTNAME=mysp2 ;; + sp1) EXTERNAL_IP=77.244.249.112 ;; # external IP address of sp1 + sp2) EXTERNAL_IP=77.244.249.113 ;; # external IP address of sp2 esac IP1=192.168.255.249 # internal IP addresses of sp1 IP2=192.168.255.250 # internal IP addresses of sp2