mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4032: Added KVM.snapshot.enabled config to 41to42 upgrade
This commit is contained in:
parent
2cbf97a6f1
commit
7eb20b8500
|
|
@ -572,7 +572,9 @@ public enum Config {
|
|||
return "TemplateManager";
|
||||
} else if (_componentClass == VpcManager.class) {
|
||||
return "VpcManager";
|
||||
}else {
|
||||
} else if (_componentClass == SnapshotManager.class) {
|
||||
return "SnapshotManager";
|
||||
} else {
|
||||
return "none";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2221,4 +2221,6 @@ CREATE VIEW `cloud`.`account_vmstats_view` AS
|
|||
`cloud`.`vm_instance`
|
||||
where
|
||||
vm_type = 'User'
|
||||
group by account_id , state;
|
||||
group by account_id , state;
|
||||
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Snapshots', 'DEFAULT', 'SnapshotManager', 'KVM.snapshot.enabled', 'false', 'whether snapshot is enabled for KVM hosts');
|
||||
Loading…
Reference in New Issue