Grinberg Moti | cd6eeaa | 2017-02-23 14:26:04 +0200 | [diff] [blame] | 1 | #!/bin/bash |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 2 | |
| 3 | export CHEFNAME=${ENVNAME} |
| 4 | cd /root/chef-solo |
| 5 | chef-solo -c solo.rb -E ${CHEFNAME} |
| 6 | |
| 7 | rc=$? |
| 8 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 9 | #if [[ $rc != 0 ]]; then |
| 10 | # echo "Sanity failed !!!" |
| 11 | # exit $rc |
| 12 | #else |
| 13 | # echo "completed successfully :-)" |
| 14 | # exit 0 |
| 15 | #fi |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 16 | |
Yuli Shlosberg | 1a9a041 | 2017-10-26 15:32:58 +0300 | [diff] [blame] | 17 | #while true; do sleep 2; done |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 18 | |
| 19 | ##/docker-entrypoint.sh |
ml636r | 0649e65 | 2017-02-20 21:10:54 +0200 | [diff] [blame] | 20 | |