Do not check sshd for the none driver

pull/5758/head
tstromberg 2019-10-28 10:35:20 -07:00
parent 1762575963
commit b1fd21e118
1 changed files with 1 additions and 1 deletions

View File

@ -974,7 +974,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 {