Author: arkurth
Date: Thu May 25 19:09:19 2017
New Revision: 1796184

URL: http://svn.apache.org/viewvc?rev=1796184&view=rev
Log:
VCL-1051
Added 'checkpoint' where checking for request state = 'image' in xCAT.pm.

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

Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm
URL: 
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm?rev=1796184&r1=1796183&r2=1796184&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/xCAT.pm Thu May 25 
19:09:19 2017
@@ -1428,7 +1428,7 @@ sub _edit_nodelist {
        # For HPC, use image project = vclhpc. There should be an xCAT 
postscript group named 'vclhpc' configured with specific HPC postscripts
        
        my $groups;
-       if ($request_state_name eq 'image') {
+       if ($request_state_name =~ /(image|checkpoint)/) {
                # Image-based install or capture
                $groups = "all,blade,image";
        }
@@ -1503,7 +1503,7 @@ sub _edit_nodetype {
        my $request_state_name = $self->data->get_request_state_name();
        
        my $nodetype_os;
-       if ($request_state_name eq 'image' || $image_os_install_type =~ 
/image/) {
+       if ($request_state_name =~ /(image|checkpoint)/ || 
$image_os_install_type =~ /image/) {
                $nodetype_os = 'image';
        }
        elsif ($image_os_install_type =~ /kickstart/i) {


Reply via email to