From e08a0d5ddc0683eb391ef15966c5753676d79c39 Mon Sep 17 00:00:00 2001 From: peng9808 <144866407+peng9808@users.noreply.github.com> Date: Thu, 11 Jan 2024 17:18:23 +0800 Subject: [PATCH 1/2] Update entrypoint.adapter.sh --- docker-shipper/entrypoint.adapter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-shipper/entrypoint.adapter.sh b/docker-shipper/entrypoint.adapter.sh index c5297ff..d018e5f 100755 --- a/docker-shipper/entrypoint.adapter.sh +++ b/docker-shipper/entrypoint.adapter.sh @@ -58,7 +58,7 @@ if LB_HOW=shipped_modules bash -x /entry.sh ; then elif LB_HOW=compile bash -x /entry.sh ; then echo "Successfully loaded compiled module" fi - +#If the installation through rpm is successful, exit directly. if [[ $DRBD_RMP_INSTALL == 'yes' ]];then echo "Successfully installed rbd using rpm package" exit 0 From 859ff916f27440b46c7293aa03e8f3a5c69023e9 Mon Sep 17 00:00:00 2001 From: peng9808 <144866407+peng9808@users.noreply.github.com> Date: Thu, 11 Jan 2024 17:19:59 +0800 Subject: [PATCH 2/2] Update entry.sh --- docker-drbd9/entry.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-drbd9/entry.sh b/docker-drbd9/entry.sh index 8ee5b5f..9099edf 100644 --- a/docker-drbd9/entry.sh +++ b/docker-drbd9/entry.sh @@ -258,6 +258,7 @@ if [ "$substr" != "deb" ]; then modprobe drbd_transport_tcp exit_code=$? if [ $exit_code -eq 0 ]; then + #Notify shipper that installation is complete export DRBD_RMP_INSTALL='yes' exit 0 else