Standalone: Disable persisting VIPs on /etc/hosts

This adds the needed parameter to the standalone environment file.

Change-Id: I9c7151b0085cd2d341e17f78dc75d1781cb7ae9d
Related-Bug: #1799724
This commit is contained in:
Juan Antonio Osorio Robles 2018-10-24 19:38:44 +03:00
parent f4b4804be7
commit dfa015d273
2 changed files with 12 additions and 1 deletions

View File

@ -24,6 +24,10 @@
#
# openstack overcloud roles generate -o ~/roles_data.yaml Standalone
parameter_defaults:
# Set to true to append per network Vips to /etc/hosts on each node.
# Type: string
AddVipsToEtcHosts: False
# DNS servers to use for the Overcloud (2 max for some implementations). If not set the nameservers configured in the ctlplane subnet's dns_nameservers attribute will be used.
# Type: comma_delimited_list
DnsServers: []

View File

@ -43,6 +43,9 @@ environments:
puppet/all-nodes-config.yaml:
parameters:
- StackAction
sample-env-generator/standalone.yaml:
parameters:
- AddVipsToEtcHosts
sample_values:
StackAction: CREATE
SoftwareConfigTransport: POLL_SERVER_HEAT
@ -265,4 +268,8 @@ parameters:
default: standalone
description: Name of the flavor for Standalone nodes
type: string
AddVipsToEtcHosts:
default: false
description: >
Set to true to append per network Vips to /etc/hosts on each node.
type: string