From 6ae74867a6a1ab15fbfb38e703ec5e49e4190763 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))