Skip to content
Snippets Groups Projects

get the uuid created for linuxsoft_systems

Merged Marta Vila Fernandes requested to merge rhncheck into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -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
Loading