From fc3792dbce6dd194d8f31744a8a540ded5732da1 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 1 Mar 2011 15:10:43 +0000 Subject: [PATCH] defect 3190944: touch /etc/xCATSN in mypostscript when installing SN git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/Postage.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index 6bd9f908e..39e68cd7d 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -629,6 +629,12 @@ sub makescript } } } + + # touch the /etc/xCATSN when it is a service node + if (xCAT::Utils->isSN($node)) { + push @scriptd, "touch /etc/xCATSN"; + } + ###Please do not remove or modify this line of code!!! xcatdsklspost depends on it push @scriptd, "# postscripts-start-here\n";