mirror of https://github.com/docker/docs.git
drivers/softlayer: don't let the driver wait for SSH
Installation of curl is handled directly by libmachine provisioning, so there is no need to do it and hence wait for SSH to be ready. Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
This commit is contained in:
parent
fbb8898914
commit
9c71e647ed
|
|
@ -399,17 +399,6 @@ func (d *Driver) Create() error {
|
|||
d.getIp()
|
||||
d.waitForStart()
|
||||
d.waitForSetupTransactions()
|
||||
ssh.WaitForTCP(d.IPAddress + ":22")
|
||||
|
||||
cmd, err := drivers.GetSSHCommandFromDriver(d, "sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq curl")
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
}
|
||||
if err := cmd.Run(); err != nil {
|
||||
return err
|
||||
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue