diff --git a/lib/fog/bluebox/models/compute/server.rb b/lib/fog/bluebox/models/compute/server.rb index 748610ca1..3313f8969 100644 --- a/lib/fog/bluebox/models/compute/server.rb +++ b/lib/fog/bluebox/models/compute/server.rb @@ -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