# use the hostname rather than the IP address from LDAP,
# as /etc/hosts might have a better answer in case of natted hosts.
addr = <%= @fqdn %>
- port = <%= @bacula_client_port %>
+ port = <%= @port_fd %>
}
<%- end -%>
<%- scope.lookupvar('deprecated::nodeinfo')['misc']['v6_ldap'].each do |addr| -%>
ipv6 = {
addr = <%= addr %>
- port = <%= @bacula_client_port %>
+ port = <%= @port_fd %>
}
<%- end -%>
}