Skip to content

Commit

Permalink
Add possibility to specify download-utility
Browse files Browse the repository at this point in the history
in host registration

see also theforeman/foreman#9808
  • Loading branch information
dosas committed Nov 13, 2024
1 parent 1e379f4 commit 978b1ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions robottelo/hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ def register(
hostgroup=None,
auth_username=None,
auth_password=None,
download_utility=None,
):
"""Registers content host to the Satellite or Capsule server
using a global registration template.
Expand Down Expand Up @@ -703,6 +704,8 @@ def register(
options['ignore-subman-errors'] = str(ignore_subman_errors).lower()
if force:
options['force'] = str(force).lower()
if download_utility is not None:
options['download-utility'] = download_utility

self._satellite = target.satellite
if auth_username and auth_password:
Expand Down

0 comments on commit 978b1ce

Please sign in to comment.