浏览代码

Fix ipv6 hosts entries

Change-Id: I83f09d01ff047bd61e044977b1eae0e2d0442b5c
tags/2017.4
Filip Pytloun 7 年前
父节点
当前提交
d549b454c9
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. +7
    -1
      linux/files/hosts

+ 7
- 1
linux/files/hosts 查看文件

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

正在加载...
取消
保存