Skip to content

Image Name by Regex #286

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

Open
azweb76 opened this issue Jan 21, 2020 · 2 comments · May be fixed by #306
Open

Image Name by Regex #286

azweb76 opened this issue Jan 21, 2020 · 2 comments · May be fixed by #306

Comments

@azweb76
Copy link
Contributor

azweb76 commented Jan 21, 2020

Before I attempt to submit a PR, I wanted to know if this would have a chance of getting approved.

I would like to define an Image name by regular expression. Our openstack images get rebuilt every month. The new image names include the date. We have to update the image every other month because the Openstack team deletes the older images every other month. If we could specify the image name by regular expression and have it pick the latest, that would save us from having to update every month.

This commit was an attempt to add that back in 2014:
92ff61b

Thanks

@olivergondza
Copy link
Member

On an aside, you can achieve the same effect by not including timestamps into image name. The plugin would do choose latest by name when there are multiple candidates, and you can choose to be specific by using image ID. The creation time is in image metadata so even the info would not be lost.

@olivergondza
Copy link
Member

Re regex selection, why not. Just make sure it it supported for all BootSources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants