Introduce baseline infect
This commit is contained in:
parent
8f9187f034
commit
d3b46b912d
@ -82,5 +82,12 @@ Deploy localy a recipe that is not over ssh. It basicaly compile and run the ins
|
|||||||
kickstart local [roles ...]
|
kickstart local [roles ...]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### infect
|
||||||
|
Infect your shell with the kickstart utility functions
|
||||||
|
|
||||||
|
```bash
|
||||||
|
eval "$(kickstart infect)"
|
||||||
|
```
|
||||||
|
|
||||||
### Thanks
|
### Thanks
|
||||||
This project was inspired on [sunzi](https://github.com/kenn/sunzi)
|
This project was inspired on [sunzi](https://github.com/kenn/sunzi)
|
||||||
|
8
lib/kickstart-infect
Executable file
8
lib/kickstart-infect
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cat <<EVAL
|
||||||
|
current_dir=`pwd`
|
||||||
|
cd `kickstart root-dir`/kickstart/
|
||||||
|
source install.sh
|
||||||
|
cd $current_dir
|
||||||
|
EVAL
|
Loading…
Reference in New Issue
Block a user