mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
engine-schema: fix naming for AlmaLinux (#11011)
In PR #10773, 'AlmaLinux' was incorrectly written as 'Alma Linux' in the guest OS category name and OS classification. This PR corrects the naming to 'AlmaLinux'. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
4a672fd9b3
commit
28e2411110
@ -101,7 +101,7 @@ BEGIN
|
|||||||
|
|
||||||
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('Fedora');
|
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('Fedora');
|
||||||
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('Rocky Linux');
|
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('Rocky Linux');
|
||||||
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('Alma Linux');
|
CALL `cloud`.`INSERT_CATEGORY_IF_NOT_EXIST`('AlmaLinux');
|
||||||
|
|
||||||
-- Move existing guest OS to new categories
|
-- Move existing guest OS to new categories
|
||||||
DROP PROCEDURE IF EXISTS `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`;
|
DROP PROCEDURE IF EXISTS `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`;
|
||||||
@ -120,7 +120,7 @@ BEGIN
|
|||||||
WHERE `display_name` LIKE CONCAT('%', os_name, '%')
|
WHERE `display_name` LIKE CONCAT('%', os_name, '%')
|
||||||
; END;
|
; END;
|
||||||
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('Rocky Linux', 'Rocky Linux');
|
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('Rocky Linux', 'Rocky Linux');
|
||||||
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('Alma Linux', 'Alma Linux');
|
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('AlmaLinux', 'AlmaLinux');
|
||||||
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('Fedora', 'Fedora');
|
CALL `cloud`.`UPDATE_CATEGORY_FOR_GUEST_OSES`('Fedora', 'Fedora');
|
||||||
|
|
||||||
-- Move existing guest OS whose category will be deleted to Other category
|
-- Move existing guest OS whose category will be deleted to Other category
|
||||||
@ -157,7 +157,7 @@ SET `sort_key` = CASE
|
|||||||
WHEN `name` = 'Fedora' THEN 3
|
WHEN `name` = 'Fedora' THEN 3
|
||||||
WHEN `name` = 'CentOS' THEN 4
|
WHEN `name` = 'CentOS' THEN 4
|
||||||
WHEN `name` = 'Rocky Linux' THEN 5
|
WHEN `name` = 'Rocky Linux' THEN 5
|
||||||
WHEN `name` = 'Alma Linux' THEN 6
|
WHEN `name` = 'AlmaLinux' THEN 6
|
||||||
WHEN `name` = 'Oracle' THEN 7
|
WHEN `name` = 'Oracle' THEN 7
|
||||||
WHEN `name` = 'RedHat' THEN 8
|
WHEN `name` = 'RedHat' THEN 8
|
||||||
WHEN `name` = 'SUSE' THEN 9
|
WHEN `name` = 'SUSE' THEN 9
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user