Merge "Don't run yum_update.sh inside docker"

This commit is contained in:
Jenkins 2017-02-02 13:36:32 +00:00 committed by Gerrit Code Review
commit 2fa4a7148d

View File

@ -10,6 +10,11 @@
echo "Started yum_update.sh on server $deploy_server_id at `date`"
echo -n "false" > $heat_outputs_path.update_managed_packages
if [ -f /.dockerenv ]; then
echo "Not running due to running inside a container"
exit 0
fi
if [[ -z "$update_identifier" ]]; then
echo "Not running due to unset update_identifier"
exit 0