mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|compute] tweaks for spot request bootstrap
This commit is contained in:
parent
f29c7b18ed
commit
bff58bcd0e
1 changed files with 2 additions and 1 deletions
|
@ -62,10 +62,11 @@ module Fog
|
|||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue