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 | |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 3 | /dockerstartup/vnc_startup.sh & |
| 4 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 5 | cd /root/chef-solo |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 6 | chef-solo -c solo.rb -E ${ENVNAME} |
| 7 | |
| 8 | rc=$? |
| 9 | |
| 10 | if [[ $rc != 0 ]]; then |
| 11 | echo "Sanity failed !!!" |
| 12 | exit $rc |
| 13 | else |
| 14 | echo "completed successfully :-)" |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 15 | # exit 0 |
| 16 | fi |