@@ -54,6 +54,23 @@ CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.op_ha_work', 'reason', 'varchar(32)
5454INSERT 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.3.0' , 1000 , 254 , 64 , 1 );
5555INSERT 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.4.0' , 1000 , 240 , 64 , 1 );
5656
57+ -- Add missing and new Guest OS mappings
58+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (10 , ' Ubuntu 24.04 LTS' , ' KVM' , ' default' , ' Ubuntu 24.04 LTS' );
59+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (2 , ' Debian GNU/Linux 10 (64-bit)' , ' XenServer' , ' 8.2.1' , ' Debian Buster 10' );
60+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (10 , ' Ubuntu 20.04 LTS' , ' XenServer' , ' 8.2.1' , ' Ubuntu Focal Fossa 20.04' );
61+
5762-- Copy XS 8.2.1 hypervisor guest OS mappings to XS 8.3 and 8.3 mappings to 8.4
5863INSERT 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.3.0' , guest_os_name, guest_os_id, utc_timestamp(), 0 FROM ` cloud` .` guest_os_hypervisor` WHERE hypervisor_type= ' Xenserver' AND hypervisor_version= ' 8.2.1' ;
64+
65+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (1 , ' Rocky Linux 9' , ' XenServer' , ' 8.3.0' , ' Rocky Linux 9' );
66+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (1 , ' Rocky Linux 8' , ' XenServer' , ' 8.3.0' , ' Rocky Linux 8' );
67+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (1 , ' AlmaLinux 9' , ' XenServer' , ' 8.3.0' , ' AlmaLinux 9' );
68+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (1 , ' AlmaLinux 8' , ' XenServer' , ' 8.3.0' , ' AlmaLinux 8' );
69+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (3 , ' Oracle Linux 9' , ' XenServer' , ' 8.3.0' , ' Oracle Linux 9' );
70+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (3 , ' Oracle Linux 8' , ' XenServer' , ' 8.3.0' , ' Oracle Linux 8' );
71+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (4 , ' Red Hat Enterprise Linux 8.0' , ' XenServer' , ' 8.3.0' , ' Red Hat Enterprise Linux 8' );
72+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (4 , ' Red Hat Enterprise Linux 9.0' , ' XenServer' , ' 8.3.0' , ' Red Hat Enterprise Linux 9' );
73+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (2 , ' Debian GNU/Linux 12 (64-bit)' , ' XenServer' , ' 8.3.0' , ' Debian Bookworm 12' );
74+ CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (10 , ' Ubuntu 22.04 LTS' , ' XenServer' , ' 8.3.0' , ' Ubuntu Jammy Jellyfish 22.04' );
75+
5976INSERT 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.4.0' , guest_os_name, guest_os_id, utc_timestamp(), 0 FROM ` cloud` .` guest_os_hypervisor` WHERE hypervisor_type= ' Xenserver' AND hypervisor_version= ' 8.3.0' ;
0 commit comments