Skip to content

Instantly share code, notes, and snippets.

@broxio
Last active July 7, 2017 11:08
Show Gist options
  • Select an option

  • Save broxio/0063cc26ef81efb608d93cf72c0c5546 to your computer and use it in GitHub Desktop.

Select an option

Save broxio/0063cc26ef81efb608d93cf72c0c5546 to your computer and use it in GitHub Desktop.
cat network251.txt | grep Cisco | awk '{print " ""\x27"tolower($2)"\x27"":""\n"" - "tolower($2)"_pillar\n"" - saltmine"}'
cat network251.txt | grep Cisco | awk '{print "sudo systemctl start salt-proxy@"tolower($2)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment