Skip to content
Discussion options

You must be logged in to vote

@la-wu
if you are not comfortable with the APIs (suggested by @DaanHoogland ), you can use the SQL procedure.

Please note, if you use another hypervisor (not KVM) or mixed hypervisors , do NOT run it !

for example, your SQL below is good for KVM I think,

-- Add Rocky Linux 10 guest OS mapping
CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (
(SELECT id FROM cloud.guest_os_category WHERE name = 'Rocky Linux'),
'Rocky Linux 10', 'KVM', 'default', 'Rocky Linux 10'
);

run results

mysql> CALL ADD_GUEST_OS_AND_HYPERVISOR_MAPPING (
    -> (SELECT id FROM cloud.guest_os_category WHERE name = 'Rocky Linux'),
    -> 'Rocky Linux 10', 'KVM', 'default', 'Rocky Linux 10'
    -> );
Query OK, 1 row affected (…

Replies: 6 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@DaanHoogland
Comment options

@la-wu
Comment options

@DaanHoogland
Comment options

@nickaccuweb
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by DaanHoogland
Comment options

You must be logged in to vote
1 reply
@weizhouapache
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
4 participants
Converted from issue

This discussion was converted from issue #14265 on November 08, 2026 08:25.