From 25df85670d8cbae28bf0c843f92f983ef8511388 Mon Sep 17 00:00:00 2001 From: Liu Shilong Date: Wed, 20 Jul 2022 08:13:28 +0800 Subject: [PATCH] [build] Increase timeout value when installing SONiC image on kvm (#11191) --- install_sonic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_sonic.py b/install_sonic.py index 01785393f4..2397a6d616 100755 --- a/install_sonic.py +++ b/install_sonic.py @@ -23,7 +23,7 @@ def main(): i = 0 while True: try: - p = pexpect.spawn("telnet 127.0.0.1 {}".format(args.p), timeout=600, logfile=sys.stdout, encoding='utf-8') + p = pexpect.spawn("telnet 127.0.0.1 {}".format(args.p), timeout=1200, logfile=sys.stdout, encoding='utf-8') break except Exception as e: print(str(e))