Skip to content

Commit

Permalink
Merge pull request #54 from peng9808/test
Browse files Browse the repository at this point in the history
fix some bug
  • Loading branch information
peng9808 authored Jan 22, 2024
2 parents f4fbd91 + 01caadb commit 5c84f61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-drbd9/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ if [ -n "$drbd_rpm" ]; then
else debug "There is no corresponding kernel version rpm package or drbd-utils rpm package"
fi
else
drbd_deb=$(find "$RPMDIR" -type f -name "*$OS_KERNEL*" -print -quit)
utils_deb=$(find "$RPMDIR" -type f -name "drbd-utils*" -print -quit)
drbd_deb=$(find "$DEBDIR" -type f -name "*$OS_KERNEL*" -print -quit)
utils_deb=$(find "$DEBDIR" -type f -name "drbd-utils*" -print -quit)
if [[ -n "$drbd_rpm" && -n "$utils_rpm" ]]; then
cp $drbd_deb /pkgs_root/drbd.deb
cp $utils_deb /pkgs_root/drbd_utils.deb
Expand Down
2 changes: 1 addition & 1 deletion docker-shipper/entrypoint.adapter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if [[ $LB_DROP == yes ]]; then
cp -vf /pkgs/drbd.modules /etc/sysconfig/modules/

# drop drbd utils and set up conf directories
cp -vf /pkgs/utils/* /usr-local-bin/
cp -vf /pkgs/utils/* /usr/local/bin/
cat /pkgs/drbd.conf > /etc/drbd.conf
cp -vf /pkgs/global_common.conf /etc/drbd.d/

Expand Down

0 comments on commit 5c84f61

Please sign in to comment.