From 3bf749e8fe3444c497d3d9cc5e01c14b02bdd067 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 11 Jun 2014 23:16:11 -0700 Subject: [PATCH] fix bug 4069 'rspconfig hmc sshcfg=enable' failed in rhel7.0 environment --- perl-xCAT/xCAT/PPCcfg.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/PPCcfg.pm b/perl-xCAT/xCAT/PPCcfg.pm index ee4130dfe..0c4e79a27 100644 --- a/perl-xCAT/xCAT/PPCcfg.pm +++ b/perl-xCAT/xCAT/PPCcfg.pm @@ -436,9 +436,9 @@ sub sshcfg { ##################################### # userid@host not found in key file ##################################### - if ( $sshkey !~ /\s+(\S+\@\S+$)/ ) { - return( [[$server,"Cannot find userid\@host in '$fname'",RC_ERROR]] ); - } + #if ( $sshkey !~ /\s+(\S+\@\S+$)/ ) { + # return( [[$server,"Cannot find userid\@host in '$fname'",RC_ERROR]] ); + #} my $logon = $1; #####################################