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:
parent
d5743ce561
commit
1589938494
@ -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)"]);
|
||||
|
Loading…
Reference in New Issue
Block a user