mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-4032: Added KVM.snapshot.enabled config to 41to42 upgrade
Conflicts: setup/db/db/schema-410to420.sql
This commit is contained in:
parent
f3dd0c6008
commit
65fc2ec345
@ -572,7 +572,9 @@ public enum Config {
|
|||||||
return "TemplateManager";
|
return "TemplateManager";
|
||||||
} else if (_componentClass == VpcManager.class) {
|
} else if (_componentClass == VpcManager.class) {
|
||||||
return "VpcManager";
|
return "VpcManager";
|
||||||
}else {
|
} else if (_componentClass == SnapshotManager.class) {
|
||||||
|
return "SnapshotManager";
|
||||||
|
} else {
|
||||||
return "none";
|
return "none";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2220,3 +2220,5 @@ CREATE TABLE `cloud_usage`.`usage_vmsnapshot` (
|
|||||||
) ENGINE=InnoDB CHARSET=utf8;
|
) ENGINE=InnoDB CHARSET=utf8;
|
||||||
|
|
||||||
ALTER TABLE volumes ADD COLUMN vm_snapshot_chain_size bigint(20) unsigned;
|
ALTER TABLE volumes ADD COLUMN vm_snapshot_chain_size bigint(20) unsigned;
|
||||||
|
|
||||||
|
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Snapshots', 'DEFAULT', 'SnapshotManager', 'KVM.snapshot.enabled', 'false', 'whether snapshot is enabled for KVM hosts');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user