1
0
Fork 0
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:
Kyle Rames 2013-02-05 10:29:21 -06:00
parent c48b3bcfd5
commit 7589c54e56

View file

@ -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