From 2d8beeb79a505fbf593a42722dfcd1eed6a44e56 Mon Sep 17 00:00:00 2001 From: Marta Vila Fernandes <ana.marta.lisboa.vila.fernandes@cern.ch> Date: Mon, 18 Nov 2024 13:47:08 +0100 Subject: [PATCH] get the uuid created for linuxsoft_systems --- reposync/rhncheck.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reposync/rhncheck.py b/reposync/rhncheck.py index aac5960..89ad461 100755 --- a/reposync/rhncheck.py +++ b/reposync/rhncheck.py @@ -62,6 +62,8 @@ def get_uuids(input_data, uuid_names): cmd = f"subscription-manager register --activationkey {activation_key} --force --name {name} --org {org}" process = subprocess.Popen(cmd, stderr=subprocess.PIPE, shell=True, stdout=subprocess.PIPE) out, err = process.communicate() + uuids.append(out['body']['uuid']) + break else: uuids.append(entry.get('uuid')) break -- GitLab