diff options
Diffstat (limited to 'lib/leap_cli/cloud/cloud.rb')
-rw-r--r-- | lib/leap_cli/cloud/cloud.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/cloud/cloud.rb b/lib/leap_cli/cloud/cloud.rb index e4b00107..231274a5 100644 --- a/lib/leap_cli/cloud/cloud.rb +++ b/lib/leap_cli/cloud/cloud.rb @@ -63,7 +63,7 @@ module LeapCli @compute = Fog::Compute.new(credentials) @options = @conf['default_options'] || {} - @image = @conf['default_image'] || aws_image(credentials[:region]) + @image = @conf['default_image'] || Cloud.aws_image(credentials[:region]) if @node @options = node.vm.options if node['vm.options'] @image = node.vm.image if node['vm.image'] |