Bechtoldt's Network Saltstack Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {% load_yaml as rawmap %}
  2. Debian:
  3. interface_defaults:
  4. enabled: True
  5. proto: dhcp
  6. type: eth
  7. default_interfaces:
  8. - name: lo
  9. proto: loopback
  10. type: eth
  11. resolver_defaults:
  12. path: /etc/resolv.conf
  13. host_defaults:
  14. path: /etc/hosts
  15. ensure: present
  16. default_hosts:
  17. - name: localhost
  18. ip: 127.0.0.1
  19. - name: localhost.localdomain
  20. ip: 127.0.0.1
  21. - name: localhost
  22. ip: ::1
  23. - name: ip6-localhost
  24. ip: ::1
  25. - name: ip6-loopback
  26. ip: ::1
  27. - name: ip6-localnet
  28. ip: fe00::0
  29. - name: ip6-mcastprefix
  30. ip: ff00::0
  31. - name: ip6-allnodes
  32. ip: ff02::1
  33. - name: ip6-allrouters
  34. ip: ff02::2
  35. - name: ip6-allhosts
  36. ip: ff02::3
  37. - name: {{ salt['grains.get']('fqdn') }}
  38. ip: 127.0.1.1
  39. - name: {{ salt['grains.get']('host') }}
  40. ip: 127.0.1.1
  41. {% endload %}