From 67333981b93d1fe15a63eb8f29256c1e47fd8d52 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 7 Oct 2008 17:45:21 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/xcataixpost | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index 79354ef49..96a082ea8 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -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) {