We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3727d31 commit 41bce70Copy full SHA for 41bce70
1 file changed
fragments/host-update.sh
@@ -21,6 +21,8 @@ source /usr/local/share/openshift-on-openstack/common_functions.sh
21
# MAIN
22
# ============================================================================
23
24
+[ "$SYSTEM_UPDATE" = "True" ] || exit 0
25
+
26
# Check for Atomic Host
27
if [ -e /run/ostree-booted ]
28
then
@@ -29,5 +31,5 @@ then
29
31
else
30
32
# Update using traditional RPMs
33
retry yum install -y deltarpm || notify_failure "could not install deltarpm"
- [ "$SYSTEM_UPDATE" = "True" ] && (retry yum -y update || notify_failure "could not update RPMs")
34
+ retry yum -y update || notify_failure "could not update RPMs"
35
fi
0 commit comments