From 2c349c1adb6bb21cc419c22137546abb6c315250 Mon Sep 17 00:00:00 2001 From: bigfleet Date: Fri, 10 Sep 2010 17:16:52 -0400 Subject: [PATCH] Matching current experience creating a BBG box with a public key --- lib/fog/bluebox/models/compute/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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