Skip to content

Commit

Permalink
Fix condition for kickstart repo sync for EL10
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravtalreja1 authored Dec 23, 2024
1 parent 3a86dd7 commit 4b67f93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytest_fixtures/component/provision_pxe.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def module_provisioning_rhel_content(
rhel_xy = Version(
constants.REPOS['kickstart'][f'rhel{rhel_ver}']['version']
if rhel_ver == 7
else constants.REPOS['kickstart'][f'rhel{rhel_ver}_bos_beta']['version']
if rhel_ver == 10
else constants.REPOS['kickstart'][f'rhel{rhel_ver}_bos']['version']
)
o_systems = sat.api.OperatingSystem().search(
Expand Down

0 comments on commit 4b67f93

Please sign in to comment.