Skip to content

Commit

Permalink
Add force option to AK content-override which was added recently
Browse files Browse the repository at this point in the history
  • Loading branch information
LadislavVasina1 committed Dec 9, 2024
1 parent f5e18fd commit 2daf512
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion robottelo/host_helpers/cli_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,14 @@ def setup_org_for_a_custom_repo(self, options=None):
)
# Override custom product to true ( turned off by default in 6.14 )
custom_repo = self._satellite.cli.Repository.info({'id': custom_repo['id']})
# Force flag added in hammer-cli-katello#977
self._satellite.cli.ActivationKey.content_override(
{'id': activationkey_id, 'content-label': custom_repo['content-label'], 'value': 'true'}
{
'id': activationkey_id,
'content-label': custom_repo['content-label'],
'value': 'true',
'force': 'true',
}
)
return {
'activationkey-id': activationkey_id,
Expand Down

0 comments on commit 2daf512

Please sign in to comment.