Merge pull request #5758 from tstromberg/inverted-ssh
Do not check sshd for the none driverpull/5759/head
commit
f5ad9014ae
|
@ -1003,7 +1003,7 @@ func validateNetwork(h *host.Host, r command.Runner) string {
|
|||
}
|
||||
}
|
||||
|
||||
if driver.BareMetal(h.Driver.DriverName()) {
|
||||
if !driver.BareMetal(h.Driver.DriverName()) {
|
||||
sshAddr := fmt.Sprintf("%s:22", ip)
|
||||
conn, err := net.Dial("tcp", sshAddr)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue