1
0

Wait until ssh is available

This commit is contained in:
2023-02-16 06:27:17 +00:00
parent f97cb3f10a
commit 24b6749504
3 changed files with 24 additions and 0 deletions

View File

@@ -207,6 +207,11 @@ func debugHandler(kcfg config.KernelConfig, workPath, kernRegex, gdb string,
}
defer os.RemoveAll(tmp)
err = q.WaitForSSH(time.Minute)
if err != nil {
return
}
if ka.StandardModules {
// Module depends on one of the standard modules
err = copyStandardModules(q, ki)