您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

24 行
630B

  1. {{ ansible_managed | comment }}
  2. # interfaces(5) file used by ifup(8) and ifdown(8)
  3. auto lo
  4. iface lo inet loopback
  5. auto eth0
  6. iface eth0 inet static
  7. address {{hetzner_server_main_ip}}
  8. netmask 32
  9. gateway {{hetzner_server_gateway}}
  10. pointopoint {{hetzner_server_gateway}}
  11. dns-nameservers 213.133.98.98 213.133.99.99 213.133.100.100
  12. iface eth0 inet6 static
  13. address {{ hetzner_server_ipv6 | ipv6('address') }}
  14. netmask 128
  15. gateway fe80::1
  16. dns-nameservers 2a01:4f8:0:1::add:1010 2a01:4f8:0:1::add:9999 2a01:4f8:0:1::add:9898
  17. # Include files from /etc/network/interfaces.d:
  18. source-directory /etc/network/interfaces.d