Skip to content

Instantly share code, notes, and snippets.

Created March 21, 2014 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/22e938ecb680505a480d to your computer and use it in GitHub Desktop.
Save anonymous/22e938ecb680505a480d to your computer and use it in GitHub Desktop.
[root@ipa ~]# cat /srv/salt/oss01/init.sls
system:
network.system:
- enabled: True
- gateway: 192.168.0.1
- gatewaydev: eth0
eth0:
network.managed:
- enabled: True
- type: eth
- proto: none
- ipaddr: 192.168.0.141
- netmask: 255.255.255.0
- dns:
- 192.168.0.150
eth1:
network.managed:
- enabled: True
- type: eth
- proto: none
- ipaddr: 10.51.0.141
- netmask: 255.255.255.0
network:
service:
- running
- reload: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment