nvazquez commented on code in PR #6362:
URL: https://github.com/apache/cloudstack/pull/6362#discussion_r866903479


##########
engine/schema/src/main/resources/META-INF/db/schema-41610to41700.sql:
##########
@@ -933,3 +933,11 @@ CREATE VIEW `cloud`.`event_view` AS
         `cloud`.`projects` ON projects.project_account_id = event.account_id
             LEFT JOIN
         `cloud`.`event` eve ON event.start_id = eve.id;
+
+-- Add XenServer 8.2.1 hypervisor capabilities
+INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, 
hypervisor_version, max_guests_limit, max_data_volumes_limit, 
max_hosts_per_cluster, storage_motion_supported) VALUES (UUID(), 'XenServer', 
'8.2.1', 1000, 253, 64, 1);
+
+-- Copy XenServer 8.2.0 hypervisor guest OS mappings to XenServer 8.2.1
+INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, 
hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) 
SELECT UUID(),'Xenserver', '8.2.1', guest_os_name, guest_os_id, 
utc_timestamp(), 0 FROM `cloud`.`guest_os_hypervisor` WHERE 
hypervisor_type='Xenserver' AND hypervisor_version='8.2.0';
+INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (hypervisor_type, 
guest_os_name, guest_os_id, hypervisor_version, uuid, created, removed, 
is_user_defined) VALUES ('Xenserver', 'Debian Bullseye 11', 337, '8.2.1', 
uuid(), now(), NULL, 0);

Review Comment:
   Done, thanks



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to