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