mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix wrong configuration for oss
This commit is contained in:
parent
08abe76f15
commit
0bd6950bb8
@ -575,7 +575,7 @@ public class VirtualRoutingResource implements Manager {
|
||||
s_logger.warn("Incoming public ip address is overriden. Will always be using the same ip address: " + _publicIpAddress);
|
||||
}
|
||||
|
||||
_firewallPath = findScript("firewall.sh");
|
||||
_firewallPath = findScript("call_firewall.sh");
|
||||
if (_firewallPath == null) {
|
||||
throw new ConfigurationException("Unable to find the firewall.sh");
|
||||
}
|
||||
|
||||
@ -162,9 +162,6 @@ public class ConfigurationServerImpl implements ConfigurationServer {
|
||||
}
|
||||
}
|
||||
|
||||
if (_configDao.isPremium()) {
|
||||
// Default value is set as KVM because of FOSS build, when we are
|
||||
// running under premium, autoset to XenServer if we know it is from FOSS settings
|
||||
|
||||
_configDao.update("secondary.storage.vm", "true");
|
||||
s_logger.debug("ConfigurationServer made secondary storage vm required.");
|
||||
@ -174,10 +171,7 @@ public class ConfigurationServerImpl implements ConfigurationServer {
|
||||
|
||||
_configDao.update("secstorage.secure.copy.cert", "realhostip");
|
||||
s_logger.debug("ConfigurationServer made secondary storage copy use realhostip.");
|
||||
} else {
|
||||
/*FOSS release, make external DHCP mode as default*/
|
||||
_configDao.update("direct.attach.network.externalIpAllocator.enabled", "true");
|
||||
}
|
||||
|
||||
|
||||
// Save Direct Networking service offerings
|
||||
createServiceOffering(User.UID_SYSTEM, "Small Instance", 1, 512, 500, "Small Instance, $0.05 per hour", false, false, false, null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user