Skip to content

Commit

Permalink
Fix miss rdma dependency
Browse files Browse the repository at this point in the history
Signed-off-by: lou-lan <[email protected]>
  • Loading branch information
lou-lan committed Nov 6, 2024
1 parent 646ed6d commit 437a152
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 437a152

Please sign in to comment.