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:
parent
c1a4e65fa9
commit
2c349c1adb
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module Fog
|
|||
options = if !@password && !@ssh_key
|
||||
raise(ArgumentError, "password or ssh_key is required for this operation")
|
||||
elsif @ssh_key
|
||||
{'ssh_key' => @ssh_key}
|
||||
{'ssh_public_key' => @ssh_key}
|
||||
elsif @password
|
||||
{'password' => @password}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue