From ba21ba9e808f6e5495a830878d2db221d73d812f Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Mon, 21 Apr 2014 01:32:29 -0700 Subject: [PATCH] fix bug 4088:xdsh to IBM RackSwitch does not work --- xCAT-server/lib/perl/xCAT/RShellAPI.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/perl/xCAT/RShellAPI.pm b/xCAT-server/lib/perl/xCAT/RShellAPI.pm index 44de8b1f5..e6fbdad1a 100644 --- a/xCAT-server/lib/perl/xCAT/RShellAPI.pm +++ b/xCAT-server/lib/perl/xCAT/RShellAPI.pm @@ -115,6 +115,7 @@ sub run_remote_shell_api { my $rc=1; if ($t) { #Wait for command prompt + $t->print("\t"); my ($prematch, $match) = $t->waitfor(Match => '/login[: ]*$/i', Match => '/username[: ]*$/i', Match => '/password[: ]*$/i',