From 32adae40e26f2f9a993d66af03319b2797247ba3 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Tue, 9 Dec 2014 17:55:31 +0530 Subject: [PATCH] CLOUDSTACK-7572: Fix regression from 156bd9b In case the configured consoleproxy url domain does not start with * use the work mode 3 as recommended in the doc: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes Signed-off-by: Rohit Yadav --- core/src/com/cloud/info/ConsoleProxyInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/cloud/info/ConsoleProxyInfo.java b/core/src/com/cloud/info/ConsoleProxyInfo.java index 096302c5ae6..800b2494490 100644 --- a/core/src/com/cloud/info/ConsoleProxyInfo.java +++ b/core/src/com/cloud/info/ConsoleProxyInfo.java @@ -41,7 +41,7 @@ public class ConsoleProxyInfo { sb.append(consoleProxyUrlDomain.substring(1)); //skip the * } else { //LB address - sb.append(".realhostip.com"); + sb.append(consoleProxyUrlDomain); } proxyAddress = sb.toString();