From fa892a72127e06bf5fda44cdb26de83993f8e2fc Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Tue, 15 Apr 2014 22:07:55 -0700 Subject: [PATCH] The HMC version 8 drop the prompt space when log on to it --- perl-xCAT/xCAT/PPCcli.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCcli.pm b/perl-xCAT/xCAT/PPCcli.pm index b76a34c4d..f995daf92 100644 --- a/perl-xCAT/xCAT/PPCcli.pm +++ b/perl-xCAT/xCAT/PPCcli.pm @@ -156,7 +156,7 @@ sub connect { # Shell prompt regexp based on HW Type ################################################## my %prompt = ( - hmc => "~> \$", + hmc => "~>\s*\$", ivm => "\\\$ \$" ); ##################################################