Author: fapeeler
Date: Wed Dec 17 09:07:27 2008
New Revision: 727440

URL: http://svn.apache.org/viewvc?rev=727440&view=rev
Log:
xCAT: caputure_monitor routine,  reset capture_loop_count = 0 if
image_size increases. On large image captures this limit gets hit if not
reset

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm?rev=727440&r1=727439&r2=727440&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm 
(original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm Wed 
Dec 17 09:07:27 2008
@@ -1355,6 +1355,8 @@
                if ($current_image_size > $image_size) {
                        notify($ERRORS{'OK'}, 0, "image size has increased: 
$image_size -> $current_image_size, still copying");
                        $image_size = $current_image_size;
+                       #reset capture_loop_count
+                       $capture_loop_count = 0;
                }
                else {
                        notify($ERRORS{'OK'}, 0, "image size is the same: 
$image_size=$current_image_size, copy may be complete");


Reply via email to