From 620d2a4ff7e760d2e2cb976bc1cdf333646f6c60 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 2 Apr 2012 20:07:53 +0000 Subject: [PATCH] fix defect 3513526 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/SvrUtils.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/SvrUtils.pm b/xCAT-server/lib/perl/xCAT/SvrUtils.pm index 568293016..7286c26ab 100644 --- a/xCAT-server/lib/perl/xCAT/SvrUtils.pm +++ b/xCAT-server/lib/perl/xCAT/SvrUtils.pm @@ -264,6 +264,7 @@ sub getsynclistfile() my %osimage_syncfile = (); my @profiles = (); + if ($nodes) { # get the profile attributes for the nodes my $nodetype_t = xCAT::Table->new('nodetype'); unless ($nodetype_t) { @@ -285,6 +286,7 @@ sub getsynclistfile() push @profiles, $profile; } } + } # get the syncfiles base on the osimage my $osimage_t = xCAT::Table->new('osimage');