Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion fragments/host-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ source /usr/local/share/openshift-on-openstack/common_functions.sh
# MAIN
# ============================================================================

[ "$SYSTEM_UPDATE" = "True" ] || exit 0

# Check for Atomic Host
if [ -e /run/ostree-booted ]
then
Expand All @@ -29,5 +31,5 @@ then
else
# Update using traditional RPMs
retry yum install -y deltarpm || notify_failure "could not install deltarpm"
[ "$SYSTEM_UPDATE" = "True" ] && (retry yum -y update || notify_failure "could not update RPMs")
retry yum -y update || notify_failure "could not update RPMs"
fi