Add a /etc/hosts entry for the external IP of an AIO

We have a hostname defined for the external VIP on the mgmt network
but not one for the external IP of the AIO host.

Change-Id: Ibf8f4d1f15c3d7cbe72094fe93bd73132a12e11a
This commit is contained in:
Jonathan Rosser 2023-03-08 08:39:26 +00:00 committed by Damian Dabrowski
parent d1e27389b1
commit 24c834ad06

View File

@ -17,8 +17,13 @@
copy:
content: |
127.0.0.1 localhost
# the ip of the aio host on the mgmt network
172.29.236.100 aio1.openstack.local aio1
# the ip of the external interface of the aio host
{{ bootstrap_host_public_address | default(ansible_facts['default_ipv4']['address']) }} external.openstack.local external
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet