mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
![]() :openstack_endpoint_type is missing as a recognized parameter. This patch fixes that, and allows the :openstack_endpoint_type to be configurable instead of hardcoding the value to 'adminURL' That is, you can create the connection to the service as follows now: require 'fog' conn = Fog::Image.new({ :provider => 'OpenStack', :openstack_api_key => ENV['OS_PASSWORD'], :openstack_username => ENV["OS_USERNAME"], :openstack_auth_url => ENV["OS_AUTH_URL"] :openstack_tenant => ENV["OS_TENANT_NAME"], :openstack_endpoint_type => 'publicURL', #publicURL, adminURL, internalURL }) Defaults to adminURL to maintain backwards compatibility. |
||
---|---|---|
.. | ||
fog | ||
tasks | ||
fog.rb |