Remove hardcoded references to .novalocal in hostnames
Remove references to the .novalocal domain part in the hosts file. Change-Id: Idf14907adaf2f35440b6f28870fe18434eadd1be Depends-On: Iadfdf4120c4d1c9b6976321753957fd4eecf301c
This commit is contained in:
parent
645b447b86
commit
04027e783f
|
@ -114,7 +114,7 @@ outputs:
|
|||
hosts_entry:
|
||||
value:
|
||||
str_replace:
|
||||
template: "IP HOST HOST.novalocal"
|
||||
template: "IP HOST"
|
||||
params:
|
||||
IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [CephStorage, name]}
|
||||
|
|
|
@ -159,7 +159,7 @@ outputs:
|
|||
hosts_entry:
|
||||
value:
|
||||
str_replace:
|
||||
template: "IP HOST HOST.novalocal"
|
||||
template: "IP HOST"
|
||||
params:
|
||||
IP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [BlockStorage, name]}
|
||||
|
|
|
@ -427,7 +427,7 @@ outputs:
|
|||
Server's IP address and hostname in the /etc/hosts format
|
||||
value:
|
||||
str_replace:
|
||||
template: "IP HOST HOST.novalocal"
|
||||
template: "IP HOST"
|
||||
params:
|
||||
IP: {get_attr: [NovaCompute, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [NovaCompute, name]}
|
||||
|
|
|
@ -922,7 +922,7 @@ outputs:
|
|||
Server's IP address and hostname in the /etc/hosts format
|
||||
value:
|
||||
str_replace:
|
||||
template: IP HOST HOST.novalocal CLOUDNAME
|
||||
template: IP HOST CLOUDNAME
|
||||
params:
|
||||
IP: {get_attr: [Controller, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [Controller, name]}
|
||||
|
|
|
@ -877,10 +877,6 @@ resources:
|
|||
- ' '
|
||||
- - {get_attr: [NovaCompute0, networks, ctlplane, 0]}
|
||||
- {get_attr: [NovaCompute0, name]}
|
||||
- Fn::Join:
|
||||
- '.'
|
||||
- - {get_attr: [NovaCompute0, name]}
|
||||
- 'novalocal'
|
||||
- Fn::Join:
|
||||
- "\n"
|
||||
- Merge::Map:
|
||||
|
@ -889,10 +885,6 @@ resources:
|
|||
- ' '
|
||||
- - {get_attr: [BlockStorage0, networks, ctlplane, 0]}
|
||||
- {get_attr: [BlockStorage0, name]}
|
||||
- Fn::Join:
|
||||
- '.'
|
||||
- - {get_attr: [BlockStorage0, name]}
|
||||
- 'novalocal'
|
||||
- Fn::Join:
|
||||
- "\n"
|
||||
- Merge::Map:
|
||||
|
@ -901,10 +893,6 @@ resources:
|
|||
- ' '
|
||||
- - {get_attr: [SwiftStorage0, networks, ctlplane, 0]}
|
||||
- {get_attr: [SwiftStorage0, name]}
|
||||
- Fn::Join:
|
||||
- '.'
|
||||
- - {get_attr: [SwiftStorage0, name]}
|
||||
- 'novalocal'
|
||||
- Fn::Join:
|
||||
- "\n"
|
||||
- Merge::Map:
|
||||
|
@ -913,10 +901,6 @@ resources:
|
|||
- ' '
|
||||
- - {get_attr: [controller0, networks, ctlplane, 0]}
|
||||
- {get_attr: [controller0, name]}
|
||||
- Fn::Join:
|
||||
- '.'
|
||||
- - {get_attr: [controller0, name]}
|
||||
- 'novalocal'
|
||||
- {get_param: CloudName}
|
||||
rabbit:
|
||||
nodes:
|
||||
|
|
|
@ -94,7 +94,7 @@ outputs:
|
|||
hosts_entry:
|
||||
value:
|
||||
str_replace:
|
||||
template: "IP HOST HOST.novalocal"
|
||||
template: "IP HOST"
|
||||
params:
|
||||
IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [CephStorage, name]}
|
||||
|
|
|
@ -206,7 +206,7 @@ outputs:
|
|||
hosts_entry:
|
||||
value:
|
||||
str_replace:
|
||||
template: "IP HOST HOST.novalocal"
|
||||
template: "IP HOST"
|
||||
params:
|
||||
IP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [BlockStorage, name]}
|
||||
|
|
|
@ -446,7 +446,7 @@ outputs:
|
|||
Server's IP address and hostname in the /etc/hosts format
|
||||
value:
|
||||
str_replace:
|
||||
template: "IP HOST HOST.novalocal"
|
||||
template: "IP HOST"
|
||||
params:
|
||||
IP: {get_attr: [NovaCompute, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [NovaCompute, name]}
|
||||
|
|
|
@ -858,7 +858,7 @@ outputs:
|
|||
Server's IP address and hostname in the /etc/hosts format
|
||||
value:
|
||||
str_replace:
|
||||
template: IP HOST HOST.novalocal CLOUDNAME
|
||||
template: IP HOST CLOUDNAME
|
||||
params:
|
||||
IP: {get_attr: [Controller, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [Controller, name]}
|
||||
|
|
|
@ -11,4 +11,3 @@ nova::network::neutron::neutron_admin_tenant_name: 'service'
|
|||
nova::network::neutron::neutron_admin_username: 'neutron'
|
||||
nova::network::neutron::vif_plugging_is_fatal: false
|
||||
nova::network::neutron::vif_plugging_timeout: 30
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@ outputs:
|
|||
hosts_entry:
|
||||
value:
|
||||
str_replace:
|
||||
template: "IP HOST HOST.novalocal"
|
||||
template: "IP HOST"
|
||||
params:
|
||||
IP: {get_attr: [SwiftStorage, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [SwiftStorage, name]}
|
||||
|
|
|
@ -145,7 +145,7 @@ outputs:
|
|||
hosts_entry:
|
||||
value:
|
||||
str_replace:
|
||||
template: "IP HOST HOST.novalocal"
|
||||
template: "IP HOST"
|
||||
params:
|
||||
IP: {get_attr: [SwiftStorage, networks, ctlplane, 0]}
|
||||
HOST: {get_attr: [SwiftStorage, name]}
|
||||
|
|
Loading…
Reference in New Issue