ironic tftp: Do not format IPv6 address for bind_host

dnsmasq does not accept IPv6 addresses surrounded by [] and we should
pass a raw IP string without [].

Closes-Bug: #1978892
Change-Id: Ida8e79d5cf1a4ecf80dbe855798c3732ced06260
This commit is contained in:
Takashi Kajinami 2022-06-16 11:33:22 +09:00
parent e1afca352e
commit 3290e6f9de

View File

@ -467,7 +467,7 @@ outputs:
ironic::pxe::tftp_bind_host: ironic::pxe::tftp_bind_host:
str_replace: str_replace:
template: template:
"%{lookup('$NETWORK_uri')}" "%{lookup('$NETWORK')}"
params: params:
$NETWORK: {get_param: [ServiceNetMap, IronicNetwork]} $NETWORK: {get_param: [ServiceNetMap, IronicNetwork]}
ironic::drivers::agent::deploy_logs_storage_backend: {get_param: IronicDeployLogsStorageBackend} ironic::drivers::agent::deploy_logs_storage_backend: {get_param: IronicDeployLogsStorageBackend}