You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2017/02/02 22:48:51 UTC

svn commit: r1781481 - /vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt.pm

Author: arkurth
Date: Thu Feb  2 22:48:50 2017
New Revision: 1781481

URL: http://svn.apache.org/viewvc?rev=1781481&view=rev
Log:
VCL-1008
Updated libvirt.pm::capture to not fail if it finds multiple disks. However, only the first disk is captured as of now.

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

Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt.pm?rev=1781481&r1=1781480&r2=1781481&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt.pm Thu Feb  2 22:48:50 2017
@@ -494,8 +494,7 @@ EOF
 		return;
 	}
 	elsif (scalar @disk_file_paths > 1) {
-		notify($ERRORS{'WARNING'}, 0, "found multiple disks defined in the XML definition for $domain_name, only domains with a single disk may be captured:\n" . format_data(\@disk_file_paths));
-		return;
+		notify($ERRORS{'WARNING'}, 0, "found multiple disks defined in the XML definition for $domain_name, only the first disk will be captured:\n" . format_data(\@disk_file_paths));
 	}
 
 	# Copy the linked clone to create a new master image file