CLOUDSTACK-3354: The CentOS built-in is dynamically scalable

Marking default CentOS template as dynamically_scalable template. The
PV tools are installed in our CentOS 5.6 template already.

Signed-off-by: Prasanna Santhanam <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d249bc7c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d249bc7c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d249bc7c

Branch: refs/heads/ui-ucs
Commit: d249bc7ce6c35df47705b6cd95eecf8a57de8b49
Parents: 6735532
Author: Harikrishna Patnala <[email protected]>
Authored: Mon Jul 8 12:10:30 2013 +0530
Committer: Prasanna Santhanam <[email protected]>
Committed: Mon Jul 8 12:24:48 2013 +0530

----------------------------------------------------------------------
 setup/db/db/schema-410to420.sql | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d249bc7c/setup/db/db/schema-410to420.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql
index 8130999..69b17ee 100644
--- a/setup/db/db/schema-410to420.sql
+++ b/setup/db/db/schema-410to420.sql
@@ -2153,6 +2153,7 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES 
('Advanced', 'DEFAULT', 'manag
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 
'management-server', 'execute.in.sequence.network.element.commands', 'false', 
'If set to true, DhcpEntryCommand, SavePasswordCommand, UserDataCommand, 
VmDataCommand will be synchronized on the agent side. If set to false, these 
commands become asynchronous. Default value is false.');
 
 ALTER TABLE `cloud`.`vm_template` ADD COLUMN `dynamically_scalable` tinyint(1) 
unsigned NOT NULL DEFAULT 0  COMMENT 'true if template contains XS/VMWare tools 
inorder to support dynamic scaling of VM cpu/memory';
+UPDATE `cloud`.`vm_template` SET dynamically_scalable = 1 WHERE name = "CentOS 
5.6(64-bit) no GUI (XenServer)" AND type = "BUILTIN";
 
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 
'management-server', 'external.baremetal.system.url', null, 'url of external 
baremetal system that CloudStack will talk to');
 INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 
'management-server', 'external.baremetal.resource.classname', null, 'class name 
for handling external baremetal resource');

Reply via email to