Skip to content

Instantly share code, notes, and snippets.

Created October 16, 2015 20:16
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/d55e76521b3705e5ccfe to your computer and use it in GitHub Desktop.
Save anonymous/d55e76521b3705e5ccfe to your computer and use it in GitHub Desktop.
1 /etc/network/interfaces:
2 file.append:
3 - text:
4 - iface eth0:0 inet static
5 - address {{ salt['pillar.get']('ping:common_ip','') }}
6 - netmask 255.255.255.0
7 - network 172.30.255.0
8 - broadcast 172.30.255.255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment