Skip to content

Instantly share code, notes, and snippets.

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

  • Save broxio/9efa97ccbec4f5f6799352a0963e5fac to your computer and use it in GitHub Desktop.

Select an option

Save broxio/9efa97ccbec4f5f6799352a0963e5fac to your computer and use it in GitHub Desktop.
grep -vE "Minion" fix.txt | sed -e 's/://g' | xargs -L 1 sudo salt-key -y -d
grep -vE "Minion" fix.txt | sed -e 's/://g' | xargs -L 1 -i sudo systemctl start salt-proxy@{}
sudo systemctl start salt-proxy@db-dmz_sw01
sudo systemctl start salt-proxy@db-dmz_sw02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment