Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- # l-a-m-d-t
- # Use: ./salt-minion-installer.sh salt.master.address
- # Example: ./salt-minion-installer.sh 10.2.2.2
- # remove older salt
- apt-get -y remove --purge ^salt-*
- rm -rf /etc/salt /var/cache/salt
- apt-get -y install software-properties-common python-software-properties
- add-apt-repository -y ppa:saltstack/salt
- apt-get update
- echo "123.31.11.210 salt" >> /etc/hosts
- apt-get -y install salt-minion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement