Skip to content
Snippets Groups Projects
Commit 8ae1500b authored by Thomas Bellman's avatar Thomas Bellman
Browse files

Use 'ipv4' and 'ipv6' elements in hostsfile::hostentries.

As the parse_host_mac_ip_list() function now recommends not using the
'ip' element of its return value, instead using the 'ipv4' and 'ipv6'
elements, we should of course follow that ourselves.  Specifically,
this affected the networking::hostsfile::hostentries definition, which
used the 'ip' element.  We here change it to use the 'ipv4' and 'ipv6'
elements if present, but for backward compatibility it will still use
the 'ip' element if both 'ipv4' and 'ipv6' elements are missing.

The networking::hostsfile::node_self definition also needed to be
updated, but this does not affect users.
parent 88f59ebb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment