[vs]: connect to localhost instead 127.0.0.1 in check_install.py (#2296)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
lguohan 2018-11-23 21:06:01 -08:00 committed by GitHub
parent f0540e7381
commit 9c6ba9484b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ def main():
cmd_prompt = "%s@sonic:~\$ $" % args.u
grub_selection = "The highlighted entry will be executed"
p = pexpect.spawn("telnet 127.0.0.1 %s" % args.p, timeout=600, logfile=sys.stdout)
p = pexpect.spawn("telnet localhost %s" % args.p, timeout=600, logfile=sys.stdout)
# select ONIE embed
p.expect(grub_selection)