fix(vm): allow full Mango install within driver timeout
This commit is contained in:
parent
0dc6663c34
commit
24b11ebb98
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ def do_install(results, paths, disks):
|
|||
url = os.environ.get("INSTALL_URL", "http://10.0.2.2:8000/install.sh")
|
||||
child.sendline(f"curl -fsSL {url} -o /tmp/run.sh && bash /tmp/run.sh")
|
||||
child.expect([r"===INSTALL-RC=([0-9]+)===", "===FETCH-FAIL===",
|
||||
"Kernel panic", pexpect.EOF, pexpect.TIMEOUT], timeout=9000)
|
||||
"Kernel panic", pexpect.EOF, pexpect.TIMEOUT], timeout=19800)
|
||||
# `child.after` is the matched pattern class (not a string) when EOF or
|
||||
# TIMEOUT matched; handle that instead of raising a TypeError.
|
||||
matched = child.after if isinstance(child.after, str) else ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue