Permalink
Browse files

[aws|compute] tweaks for spot request bootstrap

  • Loading branch information...
geemus committed Nov 2, 2011
1 parent f29c7b1 commit bff58bcd0e4bf332d7c37f18b9511531d4608176
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/fog/aws/models/compute/spot_requests.rb
@@ -62,10 +62,11 @@ def bootstrap(new_attributes = {})
spot_request.save
spot_request.wait_for { ready? }
Fog.wait_for { server = connection.servers.get(spot_request.instance_id) }
server = connection.servers.get(spot_request.instance_id)
server.wait_for { ready? }
server.setup(:key_data => [server.private_key])
spot_request
server
end
def get(spot_request_id)

0 comments on commit bff58bc

Please sign in to comment.