blob: 907898066639302b9a3e719c7167cef23feaab2c [file] [log] [blame]
Grinberg Moticd6eeaa2017-02-23 14:26:04 +02001#!/bin/bash
Michael Lando451a3402017-02-19 10:28:42 +02002
Yuli Shlosbergf59a2252018-03-21 11:14:08 +02003/dockerstartup/vnc_startup.sh &
4
Michael Lando451a3402017-02-19 10:28:42 +02005cd /root/chef-solo
Yuli Shlosberg0875ce02018-01-25 13:53:36 +02006chef-solo -c solo.rb -E ${ENVNAME}
7
8rc=$?
9
10if [[ $rc != 0 ]]; then
kaihlavi02f48802019-07-30 19:23:52 +030011 echo "Startup failed !!!"
Yuli Shlosberg0875ce02018-01-25 13:53:36 +020012 exit $rc
13else
kaihlavi02f48802019-07-30 19:23:52 +030014# 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 Shlosbergf59a2252018-03-21 11:14:08 +020019fi