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 <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2014-12-09 17:55:31 +05:30
parent 40743e9339
commit 32adae40e2
1 changed files with 1 additions and 1 deletions

View File

@ -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();