mirror of
https://github.com/apache/cloudstack
synced 2026-08-25 23:56:52 +00:00
CLOUDSTACK-3539: Fix wrong management ip when server start up
The value "localhost" for mgmt server should be over-written anyway.
This commit is contained in:
parent
54e9fe4485
commit
2f85c80655
@ -235,7 +235,7 @@ public class ConfigurationServerImpl extends ManagerBase implements Configuratio
|
||||
Boolean devel = Boolean.valueOf(_configDao.getValue("developer"));
|
||||
if (devel) {
|
||||
String value = _configDao.getValue(Config.ManagementHostIPAdr.key());
|
||||
if (value != null) {
|
||||
if (value != null && !value.equals("localhost")) {
|
||||
needUpdateHostIp = false;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user