Revision 8e452f76
Added by Tom Caspy over 8 years ago
app/views/compute_resources_vms/form/openstack/_base.html.erb | ||
---|---|---|
arch ||= nil ; os ||= nil
|
||
images = possible_images(compute_resource, arch, os)
|
||
%>
|
||
<%= selectable_f f, :availability_zone, compute_resource.zones, {:include_blank => _("No preference")}, :label => _('Availability zone') %>
|
||
<div id='image_selection'>
|
||
<%= select_f f, :image_ref, images, :uuid, :name,
|
||
{ :include_blank => (images.empty? || images.size == 1) ? false : _('Please select an image') },
|
Also available in: Unified diff
fixes #10130 - availability zones should be available in open stack