Skip to content

Instantly share code, notes, and snippets.

@dangarthwaite
Created October 7, 2013 22:37
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 dangarthwaite/b17dd245715c44207211 to your computer and use it in GitHub Desktop.
Save dangarthwaite/b17dd245715c44207211 to your computer and use it in GitHub Desktop.
/srv/pillar/saltmine.sls
mine_functions:
network.interfaces: []
network.ip_addrs: []
cmd.run: ["ip route | awk '/^default/{print $3;exit 0;}'"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment