lib/fog/libvirt/models/compute/volume.rb in fog-libvirt-0.0.1 vs lib/fog/libvirt/models/compute/volume.rb in fog-libvirt-0.0.2

- old
+ new

@@ -69,9 +69,14 @@ new_volume.path = service.clone_volume(pool_name, new_volume.to_xml, self.name).path new_volume.reload end + def upload_image(file_path) + requires :pool_name + service.upload_volume(pool_name, name, file_path) + end + private def image_suffix return "img" if format_type == "raw" format_type