Browse Source

Fix ipv6 hosts entries

Change-Id: I83f09d01ff047bd61e044977b1eae0e2d0442b5c
tags/2017.4
Filip Pytloun 7 years ago
parent
commit
d549b454c9
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      linux/files/hosts

+ 7
- 1
linux/files/hosts View File

network.hostname|default(grains.nodename) network.hostname|default(grains.nodename)
], ],
'::1': [ '::1': [
'localhost',
'ip6-localhost', 'ip6-localhost',
'ip6-loopback' 'ip6-loopback'
], ],
'fe00::0': [
'ip6-localnet',
'ip6-mcastprefix'
],
'ff02::1': [ 'ff02::1': [
'ip6-allnodes' 'ip6-allnodes'
], ],
'ff02::2': [ 'ff02::2': [
'ip6-allrouters' 'ip6-allrouters'
], ],
'ff02::3': [
'ip6-allhosts'
],
} -%} } -%}
{%- for name, host in network.host.iteritems() -%} {%- for name, host in network.host.iteritems() -%}
{%- do hosts.update({host.address: host.names}) -%} {%- do hosts.update({host.address: host.names}) -%}

Loading…
Cancel
Save