Skip to content
Snippets Groups Projects
Commit 2d8beeb7 authored by Marta Vila Fernandes's avatar Marta Vila Fernandes :game_die:
Browse files

get the uuid created for linuxsoft_systems

parent 13c82dbe
No related branches found
No related tags found
1 merge request!293get the uuid created for linuxsoft_systems
Pipeline #8539553 waiting for manual action
Pipeline: reposync

#8539558

    ...@@ -62,6 +62,8 @@ def get_uuids(input_data, uuid_names): ...@@ -62,6 +62,8 @@ def get_uuids(input_data, uuid_names):
    cmd = f"subscription-manager register --activationkey {activation_key} --force --name {name} --org {org}" 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) process = subprocess.Popen(cmd, stderr=subprocess.PIPE, shell=True, stdout=subprocess.PIPE)
    out, err = process.communicate() out, err = process.communicate()
    uuids.append(out['body']['uuid'])
    break
    else: else:
    uuids.append(entry.get('uuid')) uuids.append(entry.get('uuid'))
    break break
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment