Created
September 17, 2017 20:42
-
-
Save Grendel7/d08ae1c1eca20cbad7019f31c4b685b6 to your computer and use it in GitHub Desktop.
Install salt-minion to an LXC container and configure it to respond to a SaltStack master on `saltmaster`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lxc-attach -n $MY_MINION -- sh -c "apt-get update && apt-get install curl -y && curl -L https://bootstrap.saltstack.com | sh && sed -i -e 's/#master: salt/master: saltmaster/g' /etc/salt/minion && systemctl restart salt-minion" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment