Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(IMAGES-1302) Add Alma and Rocky 8 support #226

Merged

Conversation

GabrielNagy
Copy link
Member

Add Alma and Rocky support, and update the vmpooler generator to be able to handle these OSes.

Update all modified fixtures.

Add Alma and Rocky support, and update the vmpooler generator to be able
to handle these OSes.

Update all modified fixtures.
when /^centos/
base_config['template'] = base_config['platform'].gsub(/^el/, 'centos')
when /^(almalinux|centos|redhat|rocky)/
base_config['template'] ||= base_config['platform'].gsub(/^el/, $1)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated this logic to only modify the template key in case it's not defined in the base config. This seems like a sensible approach to me, allowing overrides on a case-by-case basis.

@GabrielNagy GabrielNagy changed the title (IMAGES-1302) Add Alma and Rocky support (IMAGES-1302) Add Alma and Rocky 8 support Sep 20, 2021
@bastelfreak bastelfreak requested a review from ekohl September 20, 2021 09:33
@GabrielNagy GabrielNagy merged commit d38adce into voxpupuli:master Sep 21, 2021
@GabrielNagy GabrielNagy deleted the IMAGES-1302/beaker-alma-rocky branch September 21, 2021 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants