always update shared_root with statelite info

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2010-09-13 20:00:40 +00:00
parent 6761a5f8ef
commit 90eda95f4b

View File

@ -771,7 +771,6 @@ sub dolitesetup
my $nodes = shift;
my $callback = shift;
my $subreq = shift;
#SL
my @litefiles; # lists of entries in the litefile table
my %imghash;
@ -919,7 +918,6 @@ sub dolitesetup
}
close(LITEFILE);
unless (open(LITETREE, ">$litetreetable"))
{
my $rsp;
@ -1061,7 +1059,7 @@ sub dolitesetup
# if this is an update then we need to copy the new files to
# the shared_root location
# ??? - maybe we should try this all the time????
if ($::UPDATE) {
if (1) {
# if we have a shared_root resource
if ($imghash{$imagename}{shared_root} ) {
my $nimprime = xCAT::InstUtils->getnimprime();