diff --git a/robottelo/hosts.py b/robottelo/hosts.py index f5b210efa85..a401452fff7 100644 --- a/robottelo/hosts.py +++ b/robottelo/hosts.py @@ -743,7 +743,7 @@ def register( raise ValueError('Global registration method can be used with Satellite/Capsule only') if lifecycle_environment is not None: - options['lifecycle_environment_id'] = lifecycle_environment.id + options['lifecycle-environment-id'] = lifecycle_environment.id if operating_system is not None: options['operatingsystem-id'] = operating_system.id if hostgroup is not None: