Verified Commit bc7f6512 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

nsfarm/board: image prepare can timeout sometimes as we are downloading medkit

This can potentially take a while thanks to slow connection or
repo.turris.cz load. Two minutes should be enough time to download
medkit and do preparation.
parent 1d74c1dc
......@@ -79,7 +79,7 @@ class Board(abc.ABC):
# Now load image from TFTP
with Container(lxd_connection, "boot", self.config.device_map()) as cont:
ccli = cli.Shell(cont.pexpect())
ccli.run(f"prepare_turris_image '{os_branch}'")
ccli.run(f"prepare_turris_image '{os_branch}'", timeout=120)
uboot.run('setenv ipaddr 192.168.1.142')
uboot.run('setenv serverip 192.168.1.1')
self._board_bootup(uboot)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment