Skip to content

Commit

Permalink
Hotfix: remove google-containers images listing
Browse files Browse the repository at this point in the history
  • Loading branch information
tumido committed Jun 15, 2018
1 parent 466bbd5 commit acc5be1
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,24 @@ def get_snapshots
end

def get_images
# FIXME: Fix for Gaprindashvili, remove once https://github.com/fog/fog-google/pull/356
# becomes available in fog-google gem
Fog::Compute::Google::Images.const_set("GLOBAL_PROJECTS",
%w(
centos-cloud
cos-cloud
coreos-cloud
debian-cloud
rhel-cloud
suse-cloud
suse-sap-cloud
ubuntu-os-cloud
windows-cloud
windows-sql-cloud
opensuse-cloud
).freeze
)

images = @connection.images.all
process_collection(images, :vms) { |image| parse_storage_as_template(image) }
end
Expand Down

0 comments on commit acc5be1

Please sign in to comment.