1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Matching current experience creating a BBG box with a public key

This commit is contained in:
bigfleet 2010-09-10 17:16:52 -04:00
parent c1a4e65fa9
commit 2c349c1adb

View file

@ -56,7 +56,7 @@ module Fog
options = if !@password && !@ssh_key options = if !@password && !@ssh_key
raise(ArgumentError, "password or ssh_key is required for this operation") raise(ArgumentError, "password or ssh_key is required for this operation")
elsif @ssh_key elsif @ssh_key
{'ssh_key' => @ssh_key} {'ssh_public_key' => @ssh_key}
elsif @password elsif @password
{'password' => @password} {'password' => @password}
end end