Bootstrap scripts for all my stuff
|
||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
replicate.sh |
Salt's Bootstrap Script
Usage
Download and run the latest replicate.sh
:
cd
git clone https://gitlab.com/rehashedsalt/bootstrap
./bootstrap/replicate.sh $HOME
In the event that you want to simply test replicate.sh
, simply pass a different argument to it:
./bootstrap/replicate.sh -d /path/to/directory
See replicate.sh -h
for more usage information.
Notes
- By default, the current working directory will be bootstrapped. Passing
-d
and a different path will cause a different path to be bootstrapped. - By default, the repository will be cloned over SSH. Either generate some keys and add them to GitLab or change the repository URI to HTTP.
- Ideally, this will be called via Ansible or some other automation tool. It may, in the future, contain specific code for this purpose.