Repository: cloudstack
Updated Branches:
  refs/heads/master 8e689b114 -> 1091d4580


CLOUDSTACK-7320: Added default CentOS 7 template for LXC


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

Branch: refs/heads/master
Commit: 1091d45809d5975ae39a585d98b92226972fc7a6
Parents: 8e689b1
Author: Kishan Kavala <kis...@apache.org>
Authored: Fri Nov 21 18:00:06 2014 +0530
Committer: Kishan Kavala <kis...@apache.org>
Committed: Fri Nov 21 18:00:06 2014 +0530

----------------------------------------------------------------------
 setup/db/db/schema-441to450.sql | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1091d458/setup/db/db/schema-441to450.sql
----------------------------------------------------------------------
diff --git a/setup/db/db/schema-441to450.sql b/setup/db/db/schema-441to450.sql
index 0dbd3f1..d1250fe 100644
--- a/setup/db/db/schema-441to450.sql
+++ b/setup/db/db/schema-441to450.sql
@@ -765,3 +765,6 @@ ALTER TABLE `cloud_usage`.`usage_vpn_user` CHANGE 
`user_name` `user_name` VARCHA
 ALTER TABLE `cloud`.`user_vm_details` MODIFY `value` VARCHAR(5120);
 
 UPDATE `cloud`.`host` SET resource = REPLACE(resource, 
'com.cloud.hypervisor.xen.resource', 'com.cloud.hypervisor.xenserver.resource') 
WHERE hypervisor_type='XenServer' AND REMOVED IS NULL;
+
+INSERT INTO `cloud`.`vm_template` (id, uuid, unique_name, name, public, 
created, type, hvm, bits, account_id, url, checksum, enable_password, 
display_text,  format, guest_os_id, featured, cross_zones, hypervisor_type, 
extractable, state)
+    VALUES (11, UUID(), 'centos7-x86_64-lxc', 'CentOS 7(64-bit) no GUI (LXC)', 
1, now(), 'BUILTIN', 0, 64, 1, 
'http://download.cloud.com/templates/builtin/centos-7-x86_64.tar.gz', 
'c2c4fa2d0978121c7977db571f132d6e', 0, 'CentOS 7(64-bit) no GUI (LXC)', 'TAR', 
246, 1, 1, 'LXC', 1, 'Active');

Reply via email to