mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|compute] removed timeout from bootstrap method signature and hard coded it in method per geemus
This commit is contained in:
parent
c48b3bcfd5
commit
7589c54e56
1 changed files with 2 additions and 2 deletions
|
@ -14,9 +14,9 @@ module Fog
|
||||||
load(data)
|
load(data)
|
||||||
end
|
end
|
||||||
|
|
||||||
def bootstrap(new_attributes = {}, timeout=1500)
|
def bootstrap(new_attributes = {})
|
||||||
server = create(new_attributes)
|
server = create(new_attributes)
|
||||||
server.wait_for(timeout) { ready? && !ipv4_address.empty? }
|
server.wait_for(1500) { ready? && !ipv4_address.empty? }
|
||||||
server.setup(:password => server.password)
|
server.setup(:password => server.password)
|
||||||
server
|
server
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue