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 |
kaihlavi | 02f4880 | 2019-07-30 19:23:52 +0300 | [diff] [blame^] | 11 | echo "Startup failed !!!" |
Yuli Shlosberg | 0875ce0 | 2018-01-25 13:53:36 +0200 | [diff] [blame] | 12 | exit $rc |
| 13 | else |
kaihlavi | 02f4880 | 2019-07-30 19:23:52 +0300 | [diff] [blame^] | 14 | # Note that the output below is monitored in CSIT by |
| 15 | # sdc/sdc-os-chef/scripts/docker_run.sh |
| 16 | # If this text is changed, docker_run.sh check for sdc-ui-tests docker |
| 17 | # startup must be adjusted accordingly! |
| 18 | echo "Startup completed successfully" |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 19 | fi |