[bitnami/mongodb-sharded] Release 6.0.2-debian-11-r5 (#10081)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2022-10-13 17:01:14 +02:00
committed by GitHub
parent 833306e9fb
commit 7a3474230c
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ ARG TARGETARCH
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.ref.name="6.0.2-debian-11-r4" \
org.opencontainers.image.ref.name="6.0.2-debian-11-r5" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mongodb-sharded" \
org.opencontainers.image.title="mongodb-sharded" \
org.opencontainers.image.vendor="VMware, Inc." \

View File

@@ -519,7 +519,7 @@ get_machine_id() {
get_disk_device_id() {
local device_id=""
if grep -q ^/dev /proc/mounts; then
device_id="$(grep -q ^/dev /proc/mounts | awk '$2 == "/" { print $1 }' | tail -1)"
device_id="$(grep ^/dev /proc/mounts | awk '$2 == "/" { print $1 }' | tail -1)"
fi
# If it could not be autodetected, fallback to /dev/sda1 as a default
if [[ -z "$device_id" || ! -b "$device_id" ]]; then
@@ -538,7 +538,7 @@ get_disk_device_id() {
# Root disk ID
#########################
get_root_disk_device_id() {
get_disk_device_id | sed 's/[0-9]\+$//'
get_disk_device_id | sed -E 's/p?[0-9]+$//'
}
########################