Update for VMWare Hardware version

Problem:
VMWare Hardware version 20 and 21 not avaliable.
Expected outcome:
Able to choose VMWare HW version 20 and 21 from from drop down menu Virtual H/W version during provisioning.
Foreman and Proxy versions:
Foreman 3.9.1
Katello 4.10.0
Foreman and Proxy plugin versions:

Distribution and version:
Rocky 8
Other relevant data:
Hello,

Are there plans to update VMware Hardware version in next Katello/Foreman versions?

Thank you,
Kasper

1 Like

From what I can tell, the WMware ruby library Foreman uses does already support this, but it’s not in Foreman’s code yet, though 3.9 ships with the latest version of rbvmomi2.
I create an issue for this as well as a PR. Would you be able to test my patch, since I do not have a VCenter 8 around to test this myself?

3 Likes

Sure thing! I will be more then happy to test it!

1 Like

I have testes yours patch @areyus and it works!
Thank you for that!

1 Like

Thanks for your feedback, it’s already merged. :+1:
I guess it will land in 3.11., until then you can use the patch directly.

I think it is trivial to backport this and it would totally make sense to have users not to wait for this (or require them to patch).
As I do not remember where I would correctly flag this for backporting, I cc @ekohl who knows this for sure.

2 Likes

On a similar note, maybe Fixes #36023: Add missing VMWare GuestOS mappings by Areyus · Pull Request #10092 · theforeman/foreman · GitHub would be worth backporting as well?

2 Likes