diff --git a/pkg/blobfuse-proxy/init.sh b/pkg/blobfuse-proxy/init.sh index e41da2bdb..af4487c02 100755 --- a/pkg/blobfuse-proxy/init.sh +++ b/pkg/blobfuse-proxy/init.sh @@ -37,9 +37,9 @@ DISTRIBUTION=$($HOST_CMD cat /etc/os-release | grep ^ID= | cut -d'=' -f2 | tr -d ARCH=$($HOST_CMD uname -m) echo "Linux distribution: $DISTRIBUTION, Arch: $ARCH" -# install blobfuse-proxy and blobfuse/blofuse2 if needed +# install blobfuse-proxy and blobfuse/blobfuse2 if needed case "${DISTRIBUTION}" in - "rhcos" | "cos" | "gardenlinux") + "rhcos" | "rhel" | "cos" | "gardenlinux") . ./blobfuse-proxy/install-proxy-rhcos.sh ;; *) diff --git a/pkg/blobfuse-proxy/server/server.go b/pkg/blobfuse-proxy/server/server.go index 589a474db..9730c83dd 100644 --- a/pkg/blobfuse-proxy/server/server.go +++ b/pkg/blobfuse-proxy/server/server.go @@ -140,8 +140,8 @@ func getBlobfuseVersion() BlobfuseVersion { return BlobfuseV2 } - if strings.EqualFold(osinfo.Distro, "rhcos") { - klog.V(2).Info("proxy default using blobfuse V2 for mounting on RHCOS") + if strings.EqualFold(osinfo.Distro, "rhcos") || strings.EqualFold(osinfo.Distro, "rhel") { + klog.V(2).Info("proxy default using blobfuse V2 for mounting on RHCOS/RHEL") return BlobfuseV2 }