Skip to content

CreateBuildFiles/CreateBuildFiles.py looks for Rocky owned by marketplace. What if using community edition? #335

@gwolski

Description

@gwolski

In reviewing latest check ins I noticed the section of code CreateBuildFiles/CreateBuildFiles.py in where you do something different if the OS is Rocky:

    if distribution == 'Rocky':
        filters.extend(
            [
                {'Name': 'owner-alias', 'Values': ['aws-marketplace']},
                {'Name': 'name', 'Values': [f"Rocky-{version}-EC2-Base-{version}.*"]},
            ],
        )

I don't use aws-marketplace Rocky, I use the community edition:

AMI ID: ami-04310224db1f2a278
Owner account ID: 792107900819
AMI Name: Rocky-8-EC2-Base-8.10-20240528.0.x86_64

I do not know how to correlate the Owner account ID to a name like you did above with 'aws-marketplace'.
Do you want to do the same thing if a community AMI?
I have to use community AMI to work with Exostellar.
--G

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions