1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|compute_v2] removing hard coded timeout in servers

This commit is contained in:
Kyle Rames 2014-03-12 14:46:57 -05:00
parent 736e14cf25
commit dba5163477

View file

@ -41,7 +41,7 @@ module Fog
# @raise [Fog::Compute::RackspaceV2::InvalidServerStateException] if server state is an error state # @raise [Fog::Compute::RackspaceV2::InvalidServerStateException] if server state is an error state
def bootstrap(new_attributes = {}) def bootstrap(new_attributes = {})
server = create(new_attributes) server = create(new_attributes)
server.wait_for(1500) { ready? && !public_ip_address.empty? } server.wait_for { ready? && !public_ip_address.empty? }
server.setup(:password => server.password) server.setup(:password => server.password)
server server
end end