mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #1239 from maestrodev/joyent_bootstrap
Joyent server creation should not wait for server to be ready
This commit is contained in:
commit
fa83cef6c7
1 changed files with 4 additions and 3 deletions
|
@ -15,12 +15,13 @@ module Fog
|
|||
def create(params = {})
|
||||
data = self.connection.create_machine(params).body
|
||||
server = new(data)
|
||||
server.wait_for { ready? }
|
||||
server
|
||||
end
|
||||
|
||||
def bootstrap
|
||||
# XXX TOXO
|
||||
def bootstrap(new_attributes = {})
|
||||
server = create(new_attributes)
|
||||
server.wait_for { ready? }
|
||||
server
|
||||
end
|
||||
|
||||
def get(machine_id)
|
||||
|
|
Loading…
Reference in a new issue