Fix empty parameter_default error in environment file
Providing an empty 'parameter_defaults' is resulting in overriding of all the previously populated 'parameters_defaults' as None. Commenting the empty statement and cleaned-up emtpy line in j2 templating. Change-Id: I75bac6b558ac16a08e0964599cecae5bf10edf8a
This commit is contained in:
parent
fab8f52263
commit
8896c4e2c6
@ -1,12 +1,12 @@
|
||||
resource_registry:
|
||||
# Create the registry only for roles with the word "Compute" in it. Like ComputeOvsDpdk, ComputeSriov, etc.,
|
||||
{% for role in roles %}
|
||||
{%- for role in roles -%}
|
||||
{% if "Compute" in role.name %}
|
||||
OS::TripleO::{{role.name}}::PreNetworkConfig: ../extraconfig/pre_network/{{role.name.lower()}}-host_config_and_reboot.yaml
|
||||
{% endif %}
|
||||
{%- endif -%}
|
||||
{% endfor %}
|
||||
|
||||
parameter_defaults:
|
||||
#parameter_defaults:
|
||||
# Sample parameters for Compute and ComputeOvsDpdk roles
|
||||
#ComputeKernelArgs: ""
|
||||
#ComputeTunedProfileName: ""
|
||||
|
Loading…
Reference in New Issue
Block a user