Kali as Salt Slave – install salt-minion from upstream

Salt is a configuration management system. With Salt, you can control thousands of computers.
Kali Linux does not have salt-minion in the default repositories, so you have to install it from upstream.

These are just quick notes. For more thorough instructions, see my other salt articles. Note that you will also need salt-master, which is not described in these short notes.

Install Salt-Minion

Following official instructions from Saltstack Documentaton
New trust relationship, be careful:

$ wget -O - https://repo.saltstack.com/apt/debian/9/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
$ sudoedit /etc/apt/sources.list.d/saltstack.list
$ cat /etc/apt/sources.list.d/saltstack.list
deb http://repo.saltstack.com/apt/debian/9/amd64/latest stretch main
$ sudo apt-get update
$ sudo apt-get install salt-minion

Choose Master

Use your own master ip address and slave id.

$ echo -e "master: 172.28.171.230\nid: p27"|sudo tee -a /etc/salt/minion
$ sudo systemctl restart salt-minion


Posted in Uncategorized | Tagged , , , , | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *