hashicorp / hashicorp/packer-plugin-openstack

OpenStack Builder: source_image_filter with wildcards for "name" field

Open
#10 0 comments 2 reactions 0 assignees View on GitHub
builder/openstack enhancement help wanted
Dominant language
Go
Stars
29
Forks
26
PR merge metrics
No merged PRs in 30d

Description

_This issue was originally opened by @stefankaufmann as hashicorp/packer#10675. It was migrated here as a result of the [Packer plugin split](https://github.com/hashicorp/packer/issues/8610#issuecomment-770034737). The original body of the issue is below._


#### Description

When using the OpenStack Builder, there is no possibility to filter for source images which contain a certain string in its name.
The feature should work like https://www.packer.io/docs/builders/amazon/ebs#source_ami_filter

#### Use Case(s)

Our openstack is set up to automatically sync base images for different ubuntu versions. Since timestamps are contained in the name of the image, we always need to change the base image accordingly. This could be prevented if this feature was present.

The configuration could look like
```
"source_image_filter": {
"name" : "auto-sync/ubuntu-focal-*"
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.