mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5419: missing parameters in configuration table and to remove unused parameters
Signed-off-by: Koushik Das <koushik@apache.org>
This commit is contained in:
parent
785b71e399
commit
b478eed655
|
|
@ -550,6 +550,8 @@ public enum Config {
|
|||
return "VpcManager";
|
||||
} else if (_componentClass == SnapshotManager.class) {
|
||||
return "SnapshotManager";
|
||||
} else if (_componentClass == VMSnapshotManager.class) {
|
||||
return "VMSnapshotManager";
|
||||
} else {
|
||||
return "none";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -814,3 +814,11 @@ CREATE TABLE `cloud`.`s2s_vpn_gateway_details` (
|
|||
PRIMARY KEY (`id`),
|
||||
CONSTRAINT `fk_s2s_vpn_gateway_details__s2s_vpn_gateway_id` FOREIGN KEY `fk_s2s_vpn_gateway_details__s2s_vpn_gateway_id`(`s2s_vpn_gateway_id`) REFERENCES `s2s_vpn_gateway`(`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
DELETE FROM `cloud`.`configuration` WHERE `name` IN ("xen.update.url", "update.check.interval", "baremetal_dhcp_devices", "host.updates.enable");
|
||||
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ("Advanced", 'DEFAULT', 'VMSnapshotManager', "vmsnapshot.create.wait", "1800", "In second, timeout for create vm snapshot", NULL, NULL,NULL,0);
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ("Advanced", 'DEFAULT', 'VMSnapshotManager', "vmsnapshot.max", "10", "Maximum vm snapshots for a vm", NULL, NULL,NULL,0);
|
||||
|
||||
UPDATE `cloud`.`configuration` SET `component` = 'VMSnapshotManager' WHERE `name` IN ("vmsnapshot.create.wait", "vmsnapshot.max");
|
||||
|
|
|
|||
Loading…
Reference in New Issue