Fix UI and docker
[sdc.git] / sdc-os-chef / sdc-sanity / startup.sh
1 #!/bin/sh
2
3 export CHEFNAME=${ENVNAME}
4 cd /root/chef-solo
5 chef-solo -c solo.rb -E ${CHEFNAME}
6
7 rc=$?
8
9 if [[ $rc != 0 ]]; then
10    echo "Sanity failed !!!"
11    exit $rc
12 else
13    echo "completed successfully :-)"
14    exit 0
15 fi
16
17 #/docker-entrypoint.sh 
18