aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-sanity/startup.sh
blob: dc881fed512cbe5386f2faf168ee7f177cf81820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

sleep 300

export CHEFNAME=${ENVNAME}
cd /root/chef-solo
chef-solo -c solo.rb -E ${CHEFNAME}

rc=$?

#if [[ $rc != 0 ]]; then
#   echo "Sanity failed !!!"
#   exit $rc
#else
#   echo "completed successfully :-)"
#   exit 0
#fi

#while true; do sleep 2; done

##/docker-entrypoint.sh