From 7aacb77469df0bf984e70aab56986b1ba8f0b418 Mon Sep 17 00:00:00 2001 From: Vladimir Sedmik Date: Mon, 9 Oct 2023 21:06:19 +0200 Subject: [PATCH] Fix lce id option in host registration --- robottelo/hosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robottelo/hosts.py b/robottelo/hosts.py index 6ee09915587..aa72002146f 100644 --- a/robottelo/hosts.py +++ b/robottelo/hosts.py @@ -781,7 +781,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: