Skip to content

Commit

Permalink
builder: add fedora-coreos-cloud project
Browse files Browse the repository at this point in the history
When a user specifies a `image_family_name` to get the latest version of
an image to build their custom image upon, the plugin attempts to get
the family specified from a static list of projects.

In this case, a user attempted to get the `fedora-coreos-stable' family,
present in the `fedora-coreos-cloud` project, which was not in the
default list of the GCE driver.

This commit changes this.
  • Loading branch information
lbajolet-hashicorp committed Oct 23, 2023
1 parent 748dfbd commit 22d2037
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/googlecompute/driver_gce.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ func (d *driverGCE) GetImage(name string, fromFamily bool) (*Image, error) {
"coreos-cloud",
"debian-cloud",
"fedora-cloud",
"fedora-coreos-cloud",
"freebsd-org-cloud-dev",
"rhel-cloud",
"rhel-sap-cloud",
Expand Down

0 comments on commit 22d2037

Please sign in to comment.