Merge pull request #5758 from tstromberg/inverted-ssh

Do not check sshd for the none driver
pull/5759/head
Thomas Strömberg 2019-10-28 10:56:30 -07:00 committed by GitHub
commit f5ad9014ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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