Skip to content

Commit

Permalink
Merge pull request #4263 from spidernet-io/fix-miss-rdma-dependency
Browse files Browse the repository at this point in the history
Fix miss rdma dependency
  • Loading branch information
lou-lan authored Nov 7, 2024
2 parents f66e420 + 437a152 commit cdc0e82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion images/spiderpool-base/install-others.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ packages=(
libmnl0
bash-completion
iptables
rdma-core
)


Expand All @@ -28,6 +27,10 @@ ln -fs /usr/share/zoneinfo/UTC /etc/localtime

apt-get install -y --no-install-recommends "${packages[@]}"

# The installation of rdma-core should not use the `--no-install-recommends` parameter
# to ensure that the corresponding dependencies are installed.
apt-get install -y rdma-core

apt-get purge --auto-remove
apt-get clean
rm -rf /var/lib/apt/lists/*

0 comments on commit cdc0e82

Please sign in to comment.