Actions
Bug #36741
closedUbuntu version "nil" is interpreted as "0"
Difficulty:
Triaged:
No
Description
If no minor version is defined in the OS in Foreman, it is interpreted as 0.
This is especially an issue, since Ubuntu >= 20.04.3 uses a different Installation Media path and templates.
If the minor version is "nil" it should take the latest version (or no explicit .0 version).
The issue is here:
https://github.com/theforeman/foreman/blob/6a292004b525e47acd946dd59fdc13af5bb21ba5/app/models/operatingsystems/debian.rb#L84
Actions