Merge "Don't run yum_update.sh inside docker"
This commit is contained in:
commit
2fa4a7148d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user