diff --git a/docker-drbd9/entry.sh b/docker-drbd9/entry.sh index d47499e..f65ad13 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 diff --git a/docker-shipper/entrypoint.adapter.sh b/docker-shipper/entrypoint.adapter.sh index 617e791..cfa8cd7 100755 --- a/docker-shipper/entrypoint.adapter.sh +++ b/docker-shipper/entrypoint.adapter.sh @@ -63,6 +63,7 @@ fi echo "DRBD_EXIST:$DRBD_EXIST" echo "DRBD_RMP_INSTALL:$DRBD_RMP_INSTALL" +#If the installation through rpm is successful, exit directly. if [[ $DRBD_RMP_INSTALL == 'yes' ]];then echo "Successfully installed rbd using rpm package" exit 0