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:
parent
736e14cf25
commit
dba5163477
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue