Author: arkurth
Date: Tue Jul 14 17:41:33 2015
New Revision: 1691040
URL: http://svn.apache.org/r1691040
Log:
VCL-883
Updated 8.pm::pre_capture to retrieve $self->{end_state} after the parent
class's pre_capture subroutine has been executed and parsed the arguments.
Modified:
vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6/8.pm
Modified: vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6/8.pm
URL:
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6/8.pm?rev=1691040&r1=1691039&r2=1691040&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6/8.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6/8.pm Tue Jul
14 17:41:33 2015
@@ -94,8 +94,7 @@ sub pre_capture {
return;
}
- my $computer_node_name = $self->data->get_computer_node_name();
- my $end_state = $self->{end_state} || 'off';
+ my $computer_node_name = $self->data->get_computer_node_name();
# Call parent class's pre_capture subroutine
notify($ERRORS{'OK'}, 0, "calling parent class pre_capture()
subroutine");
@@ -104,7 +103,9 @@ sub pre_capture {
return;
}
- notify($ERRORS{'OK'}, 0, "beginning Windows 8 image capture preparation
tasks");
+ my $end_state = $self->{end_state} || 'off';
+
+ notify($ERRORS{'OK'}, 0, "beginning Windows 8 image capture preparation
tasks, end state: $end_state");
# Get the node configuration directory
my $node_configuration_directory =
$self->get_node_configuration_directory();