From 90eda95f4b885101626ffe6890b0d882b4719f05 Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 13 Sep 2010 20:00:40 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/InstUtils.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/InstUtils.pm b/perl-xCAT/xCAT/InstUtils.pm index 10f4271b5..c239ee17f 100644 --- a/perl-xCAT/xCAT/InstUtils.pm +++ b/perl-xCAT/xCAT/InstUtils.pm @@ -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();