From 55fc08fa74c2db47271294486c13162dac6e8ea6 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 25 Sep 2012 18:19:37 +0000 Subject: [PATCH] add stub for call to CFMUtils git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/updatenode.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index ac77be5e8..6cc21dd60 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -473,6 +473,16 @@ sub preprocess_updatenode push @requests, $reqcopy; } + # If -F or -f then, call CFMUtils to check if any PCM CFM data is to be + # built for the node. This will also create the synclists attribute in + # the osimage for each node in the noderange + if (($::FILESYNC) || ($::SNFILESYNC)) { + # determine the list of osimages names in the noderange to pass into + # the CFMUtils + my @imagenames=xCAT::TableUtils->getimagenames(\@nodes); + # Now here we will call CFMUtils + } + # if not -S or -P or --security unless (defined($::SWMAINTENANCE) || defined($::RERUNPS) || $::SECURITY) {