Fixed ssh key path for AIX - Line #1661

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2008-04-25 14:35:27 +00:00
parent d5743ce561
commit 1589938494

View File

@ -1658,7 +1658,7 @@ sub sshcfg {
my $t = shift;
my $value = shift;
my $uid = shift;
my $fname = (xCAT::Utils::isAIX()) ? "/.ssh/":"/root/.ssh/"."id_dsa.pub";
my $fname = ((xCAT::Utils::isAIX()) ? "/.ssh/":"/root/.ssh/")."id_dsa.pub";
if ($value !~ /^enable|disable$/i) {
return([1,"Invalid argument '$value' (enable|disable)"]);