Add option to specify the NovaHWMachineType
If the specified default machine type is not supported on the currently deployed OS, this patch adds the option to specify a parameter to override the default. Related Bug: BZ: 2110535 Change-Id: Id0f0bf0d9efb2136ae49b8475e80774dd0578230
This commit is contained in:
parent
c661d74da7
commit
bb07f124fb
|
@ -18,6 +18,11 @@ parameter_defaults:
|
|||
{% if release not in ['train', 'ussuri', 'victoria'] %}
|
||||
NovaLibvirtNumPciePorts: 12
|
||||
{% endif %}
|
||||
# Set machine type if default is not supported on current OS
|
||||
# see https://bugzilla.redhat.com/show_bug.cgi?id=2110535
|
||||
{% if nova_hw_machine_type is defined and nova_hw_machine_type %}
|
||||
NovaHWMachineType: {{ nova_hw_machine_type }}
|
||||
{% endif %}
|
||||
|
||||
DeployedServerPortMap:
|
||||
{% for subnode in groups['overcloud'] %}
|
||||
|
|
|
@ -35,6 +35,11 @@ parameter_defaults:
|
|||
MasqueradeNetworks:
|
||||
{{ standalone_network }}.0/{{ standalone_network_prefix }}:
|
||||
- {{ standalone_network }}.0/{{ standalone_network_prefix }}
|
||||
# Set machine type if default is not supported on current OS
|
||||
# see https://bugzilla.redhat.com/show_bug.cgi?id=2110535
|
||||
{% if nova_hw_machine_type is defined and nova_hw_machine_type %}
|
||||
NovaHWMachineType: {{ nova_hw_machine_type }}
|
||||
{% endif %}
|
||||
NeutronPublicInterface: {{ standalone_interface }}
|
||||
{% if standalone_neutron_bridge_mappings is defined and standalone_neutron_bridge_mappings %}
|
||||
NeutronBridgeMappings: {{ standalone_neutron_bridge_mappings }}
|
||||
|
|
Loading…
Reference in New Issue