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

commit 5bfe9c8bede00c9e4c211dd27f06041e2e8a735b
Author: Andrija Panic <[email protected]>
AuthorDate: Sun Nov 24 23:49:45 2019 +0100

    centos8-new-builtin-templates
---
 .../src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql     | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/engine/schema/src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql 
b/engine/schema/src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql
index 57c4a61..758c03e 100644
--- 
a/engine/schema/src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql
+++ 
b/engine/schema/src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql
@@ -19,3 +19,6 @@
 -- Schema upgrade cleanup from 4.13.0.0 to 4.14.0.0
 --;
 
+-- Delete an ancient template added in 2.2, which was set as removed in 4.5. 
For the sake of cleanup and easier overview of builtin templates in DB.
+-- This DOES assume one is not running any VMs from this template!
+DELETE FROM `cloud`.`vm_template` WHERE `id`=2 AND 
`unique_name`="centos53-x86_64" AND `name`="CentOS 5.3(64-bit) no GUI 
(XenServer)";

Reply via email to