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:
nott 2008-10-07 17:45:21 +00:00
parent 5b13dbef6a
commit 67333981b9

View File

@ -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) {