Restore .rhosts file removed by NIM setup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4402 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cb2bef59b2
commit
0a94bc00b1
@ -238,6 +238,12 @@ sub setupAIXsn
|
||||
# !!!!! can't do diskless nodes w/ nimsh & SSL enabled!!!!
|
||||
#
|
||||
|
||||
# restore the original .rhosts that was removed by NIM setup
|
||||
if (&runcmd("cp /.rhosts.prev /.rhosts ") != 0 ) {
|
||||
$msg = "$::sdate servicenode: Could not restore the .rhosts file.\n";
|
||||
`logger -t xcat $msg`;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user