Browse Source

Merge "Handle string value for LAUNCH_INSTANCE_DEFAULTS"

changes/78/824078/1
Zuul 4 months ago committed by Gerrit Code Review
parent
commit
8e146160e5
  1. 4
      templates/local_settings.py.erb

4
templates/local_settings.py.erb

@ -475,7 +475,11 @@ OPENSTACK_CINDER_FEATURES = {
<%- if ! (@instance_options_real.empty?) -%>
LAUNCH_INSTANCE_DEFAULTS = {
<%- @instance_options_real.sort.each do |opt_name,opt_val| -%>
<%- if opt_val.kind_of?(String) -%>
'<%= opt_name -%>': '<%= opt_val -%>',
<%- else -%>
'<%= opt_name -%>': <%= opt_val.to_s.capitalize -%>,
<%-end-%>
<%-end-%>
}
<%-end-%>

Loading…
Cancel
Save