[build] Increase timeout value when installing SONiC image on kvm (#11191)

This commit is contained in:
Liu Shilong 2022-07-20 08:13:28 +08:00 committed by GitHub
parent 228853bb57
commit 6ae74867a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))