Hi,

The guest OS mappings have been moved to DB, let me put up a wiki on how
to add new OS to ACS.

In your case, you would need something like the following:

INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type,
hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined)
VALUES (UUID(),'VMware', '5.0', 'darwin11Guest', 226, now(), 0);

This needs to be done for Vmware versions that support OS X 10.9 (5.1,
5.5?)
Also, please note that hypervisor = VMware and not VmWare all throughout
cloudstack.

HTH
Amogh

On 9/4/14 1:27 AM, "Mohamed Ali Saidi" <saidi.mohamed.ali...@gmail.com>
wrote:

>Hi,
>
>I'm working on a CI platforme and I want to add OS x 10.9 to Cloudstack
>guest os type.
>
>I tried with adding these lines on db:
>
>INSERT INTO `cloud`.`guest_os` (id, uuid, category_id, display_name)
>VALUES
>(226, UUID(), 7, 'Apple Mac OS X 10.9 (32 bit)');
>INSERT INTO `cloud`.`guest_os` (id, uuid, category_id, display_name)
>VALUES
>(227, UUID(), 7, 'Apple Mac OS X 10.9 (64 bit)');
>
>INSERT INTO `cloud`.`guest_os_hypervisor` (hypervisor_type, guest_os_name,
>guest_os_id) VALUES ("VmWare", 'Apple Mac OS X 10.9 (32 bit)', 226);
>INSERT INTO `cloud`.`guest_os_hypervisor` (hypervisor_type, guest_os_name,
>guest_os_id) VALUES ("VmWare", 'Apple Mac OS X 10.9 (64 bit)', 227);
>
>And on VmwareGuestOsMapper.java:
>
>s_mapper.put("Apple Mac OS X 10.9 (32
>bit)",VirtualMachineGuestOsIdentifier.DARWIN_11_GUEST);
>   s_mapper.put("Apple Mac OS X 10.9 (64
>bit)",VirtualMachineGuestOsIdentifier.DARWIN_11_64_GUEST);
>
>
>but it didn't work.
>
>PS:On Vcenter i get  "Other(64 bit)" as vm os guest type.
>
>Thanks

Reply via email to