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