07-remove-image-source.patch revision 5403
70N/AInternal patch to disable the image_source (Create Volume -> Volume Source -> image)
70N/Abecause copy_volume_from_image is not supported yet.
1357N/AThis patch will not be committed upstream.
70N/A
70N/A--- horizon-2015.1.2/openstack_dashboard/dashboards/project/volumes/volumes/forms.py.orig 2015-12-12 16:00:05.464623742 -0500
919N/A+++ horizon-2015.1.2/openstack_dashboard/dashboards/project/volumes/volumes/forms.py 2015-12-12 16:08:30.652433673 -0500
919N/A@@ -233,6 +233,9 @@
919N/A
919N/A images = utils.get_available_images(request,
919N/A request.user.tenant_id)
919N/A+ # Disable the image source on Solaris
919N/A+ images = False
919N/A+
919N/A if images:
919N/A source_type_choices.append(("image_source", _("Image")))
919N/A choices = [('', _("Choose an image"))]
919N/A