Skip to content

Commit

Permalink
Updated the fixture for rhel_ver to correctly fetch the appropriate k…
Browse files Browse the repository at this point in the history
…ickstart repository
  • Loading branch information
amolpati30 committed Jan 20, 2025
1 parent ce06066 commit 1f779b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytest_fixtures/component/provisioning_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def module_sync_kickstart_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 = module_target_sat.api.OperatingSystem().search(
Expand Down

0 comments on commit 1f779b0

Please sign in to comment.