This is an automated email from the ASF dual-hosted git repository.

andrijapanic pushed a commit to branch centos8-new-builtin-templates
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/centos8-new-builtin-templates 
by this push:
     new 7239a08  New builtin templates based on CentOS8
7239a08 is described below

commit 7239a08cedb630d6e0d9bad843e5148281205999
Author: Andrija Panic <[email protected]>
AuthorDate: Sun Nov 24 23:56:51 2019 +0100

    New builtin templates based on CentOS8
---
 .../schema/src/main/resources/META-INF/db/schema-41300to41400.sql | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/engine/schema/src/main/resources/META-INF/db/schema-41300to41400.sql 
b/engine/schema/src/main/resources/META-INF/db/schema-41300to41400.sql
index 43e282d..1f9f2b3 100644
--- a/engine/schema/src/main/resources/META-INF/db/schema-41300to41400.sql
+++ b/engine/schema/src/main/resources/META-INF/db/schema-41300to41400.sql
@@ -21,3 +21,11 @@
 
 -- KVM: enable storage data motion on KVM hypervisor_capabilities
 UPDATE `cloud`.`hypervisor_capabilities` SET `storage_motion_supported` = 1 
WHERE `hypervisor_capabilities`.`hypervisor_type` = 'KVM';
+
+-- New builtin templates based on CentOS8, for VMware/KVM/XenServer
+DELETE from `cloud`.`vm_template` where id in ('4', '5', '7');
+INSERT INTO `cloud`.`vm_template` (id, uuid, unique_name, name, public, 
created, type, hvm, bits, account_id, url, checksum, display_text, 
enable_password, format, guest_os_id, featured, cross_zones, hypervisor_type, 
extractable) VALUES (4, UUID(), 'default-tmpl-centos8.0-kvm', 'CentOS 
8.0(64-bit) no GUI (KVM)', 1, now(), 'BUILTIN', 0, 64, 1, 
'http://download.cloudstack.org/releases/4.14/default-tmpl-centos8.0.qcow2.bz2',
 '80da87ecc67d1e4fcf90079873241619', 'CentOS 8.0(64-bit) no GUI (KV [...]
+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) VALUES (5, UUID(), 'default-tmpl-centos8.0-xen', 'CentOS 
8.0(64-bit) no GUI (XenServer)', 1, now(), 'BUILTIN', 0, 64, 1, 
'http://download.cloudstack.org/releases/4.14/default-tmpl-centos8.0.vhd.bz2', 
'440acfd548a7391b26559c4763377118', 0, 'CentOS 8.0(64-bit) no [...]
+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) VALUES (7, UUID(), 'default-tmpl-centos8.0-vmware', 'CentOS 
8.0(64-bit) no GUI (vSphere)', 1, now(), 'BUILTIN', 0, 64, 1, 
'http://download.cloudstack.org/releases/4.14/default-tmpl-centos8.0.ova', 
'85168c007c6ab85c516274cdf23eda48', 0, 'CentOS 8.0(64-bit) no GU [...]
+INSERT INTO `cloud`.`vm_template_details` (`id`, `template_id`, `name`, 
`value`) VALUES (1, 7, 'nicAdapter', 'Vmxnet3');
+INSERT INTO `cloud`.`vm_template_details` (`id`, `template_id`, `name`, 
`value`) VALUES (2, 7, 'rootDiskController', 'pvscsi');

Reply via email to