Created
September 17, 2017 20:46
-
-
Save Grendel7/03d0daae49e8677a7da3b065196f8630 to your computer and use it in GitHub Desktop.
Create a Debian LXC container and install a SaltStack master to it
This file contains 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
# Create the LXC container. | |
lxc-create -n saltmaster -t debian -- -r stretch | |
lxc-start -n saltmaster | |
# Install SaltStack on it. | |
lxc-attach -n saltmaster -- sh -c "apt-get update && apt-get install curl -y && curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com && sh bootstrap-salt.sh -M -N" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment