Browse Source

Don't try to run os-net-config from yum_update.sh

The UpdateDeployment already depends on NetworkDeployment.
We should not run os-net-config unconditionally before update.

Closes-Bug: #1666227

Change-Id: I48cbf5de00d47c6fdad71ff24c00e9db05cec5d5
(cherry picked from commit b19d6306ea)
tags/6.1.0
Lukas Bezdicka 2 years ago
parent
commit
5cd57aa2d3
1 changed files with 0 additions and 11 deletions
  1. 0
    11
      extraconfig/tasks/yum_update.sh

+ 0
- 11
extraconfig/tasks/yum_update.sh View File

@@ -97,17 +97,6 @@ return_code=$?
97 97
 echo "$result"
98 98
 echo "yum return code: $return_code"
99 99
 
100
-# Writes any changes caused by alterations to os-net-config and bounces the
101
-# interfaces *before* restarting the cluster.
102
-os-net-config -c /etc/os-net-config/config.json -v --detailed-exit-codes
103
-RETVAL=$?
104
-if [[ $RETVAL == 2 ]]; then
105
-    echo "os-net-config: interface configuration files updated successfully"
106
-elif [[ $RETVAL != 0 ]]; then
107
-    echo "ERROR: os-net-config configuration failed"
108
-    exit $RETVAL
109
-fi
110
-
111 100
 if [[ "$pacemaker_status" == "active" ]] ; then
112 101
     echo "Starting cluster node"
113 102
     pcs cluster start

Loading…
Cancel
Save