From 978b1ce7ddd7e3bfc025bf6d2277f14a456f6155 Mon Sep 17 00:00:00 2001 From: dosas Date: Wed, 13 Nov 2024 16:55:21 +0100 Subject: [PATCH] Add possibility to specify download-utility in host registration see also https://github.com/theforeman/foreman/pull/9808 --- robottelo/hosts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/robottelo/hosts.py b/robottelo/hosts.py index 642824ebf7..4cee4f1f95 100644 --- a/robottelo/hosts.py +++ b/robottelo/hosts.py @@ -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. @@ -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: