Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion custom-templates/numa-systemd-osd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ if [[ `hostname` = *"ceph"* ]] || [[ `hostname` = *"osd-compute"* ]]; then
# If NUMA related packages are missing, then install them
# If packages are baked into image, no install attempted
for PKG in numactl hwloc; do
if [[ ! $(rpm -q $PKG) ]]; then
rpm -q $PKG
if [[ $? > 0 ]]; then
yum install -y $PKG
if [[ ! $? ]]; then
echo "Unable to install $PKG with yum"
Expand Down