From 3b826ad2becf5c353d1108a5edd3ae0d71f0ecd2 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',