chore: allow ironic-inspector to work with IPv6 disabled

If IPv6 is disabled then ironic-inspector would fail to start. Update
the template to have ironic-inspector listen on the `internal_ip` of
the system.

Change-Id: I54ab52bbaec98ab94314698bc13083760d090206
This commit is contained in:
John L. Villalovos 2023-03-14 09:35:02 -07:00
parent eb9426d228
commit 83d56c72bb

View File

@ -24,6 +24,8 @@ listen_unix_socket = /run/ironic/ironic-inspector.socket
# Nginx should be able to write to the socket, access will be further limited
# by the containing directory.
listen_unix_socket_mode = 0660
{% else %}
listen_address = {{ internal_ip }}
{% endif %}
[database]