07-remove-image-source.patch revision 4070
4070N/AInternal patch to disable the image_source (Create Volume -> Volume Source -> image)
4070N/Abecause copy_volume_from_image is not supported yet.
4070N/AThis patch will not be committed upstream.
4070N/A
4070N/A--- horizon-2014.2.2/openstack_dashboard/dashboards/project/volumes/volumes/forms.py.orig 2015-03-06 00:02:20.754192323 -0800
4070N/A+++ horizon-2014.2.2/openstack_dashboard/dashboards/project/volumes/volumes/forms.py 2015-03-06 00:04:15.272654086 -0800
4070N/A@@ -203,6 +203,9 @@
4070N/A
4070N/A images = utils.get_available_images(request,
4070N/A request.user.tenant_id)
4070N/A+ # Disable the image_source on Solaris
4070N/A+ images = False
4070N/A+
4070N/A if images:
4070N/A source_type_choices.append(("image_source", _("Image")))
4070N/A choices = [('', _("Choose an image"))]