Advertisement
Guest User

Untitled

a guest
Sep 9th, 2015
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. YAML that works with SaltStack (tested/good):
  2. eth2:
  3. network.managed:
  4. - enabled: True
  5. - type: eth
  6. - proto: none
  7. - ipaddr: 10.10.0.177
  8. - netmask: 255.255.254.0
  9. - dns:
  10. - 8.8.8.8
  11. - 8.8.4.4
  12. - gateway: 10.10.0.1
  13.  
  14. YAML that is output from php-yaml (causes errors in SaltStack):
  15. eth2:
  16. network.managed:
  17. enabled: true
  18. type: eth
  19. proto: none
  20. ipaddr: 10.10.0.177
  21. netmask: 255.255.254.0
  22. dns:
  23. - 8.8.8.8
  24. - 8.8.4.4
  25. gateway: 10.10.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement