Create xcatinfo file on service nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5b13dbef6a
commit
67333981b9
@ -56,6 +56,13 @@ if (&runcmd($cmd) != 0) {
|
||||
exit 1;
|
||||
}
|
||||
|
||||
# save the name of the xCAT server in case the /etc/niminfo file
|
||||
# gets overwritten
|
||||
my $xcatinfo="/etc/xcatinfo";
|
||||
open(XCATINFO,">",$xcatinfo);
|
||||
print XCATINFO "XCATSERVER=$servnode\n";
|
||||
close(XCATINFO);
|
||||
|
||||
# get the contents of the /install/postscripts dir on the server
|
||||
my $rcpcmd = "rcp -r $servnode:/install/postscripts/* /xcatpost";
|
||||
if (&runcmd($rcpcmd) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user