Skip to content

Commit

Permalink
ost: downgrade nmstate
Browse files Browse the repository at this point in the history
workaround for BZ2084118, downgrading nmstate at el9 hosts.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2084118
  • Loading branch information
hbraha authored and tinez committed May 25, 2022
1 parent f5815d6 commit 67405b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common/deploy-scripts/setup_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ if [[ $(which nodectl) ]]; then
echo 3 > /proc/sys/vm/drop_caches
fi

# FIXME: work around for BZ 2084118 - Downgrading nmstate
DISTRO=$( cat /etc/redhat-release )
if [[ "$DISTRO" == *"9"* ]]; then
rpm -e --nodeps nmstate
dnf config-manager --set-enabled appstream
dnf install -y nmstate-2.0.0-0.4.alpha3.el9
echo exclude="nmstate nmstate-plugin-ovsdb python3-libnmstate" >> /etc/dnf/dnf.conf
dnf config-manager --set-disabled appstream
fi

# Set up hugepages
HUGEPAGES=3
for node in /sys/devices/system/node/node*; do
Expand Down

0 comments on commit 67405b5

Please sign in to comment.