07-remove-image-source.patch revision 6033
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
6033N/A--- horizon-2015.1.2/openstack_dashboard/dashboards/project/volumes/volumes/forms.py.orig 2015-12-12 16:00:05.464623742 -0500
6033N/A+++ horizon-2015.1.2/openstack_dashboard/dashboards/project/volumes/volumes/forms.py 2015-12-12 16:08:30.652433673 -0500
6033N/A@@ -233,6 +233,9 @@
4070N/A
6033N/A images = utils.get_available_images(request,
6033N/A request.user.tenant_id)
6033N/A+ # Disable the image source on Solaris
6033N/A+ images = False
6033N/A+
6033N/A if images:
6033N/A source_type_choices.append(("image_source", _("Image")))
6033N/A choices = [('', _("Choose an image"))]