File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ READ_AHEAD_KB=${READ_AHEAD_KB:-15380}
24
24
25
25
HOST_CMD=" nsenter --mount=/proc/1/ns/mnt"
26
26
27
- if [ " ${INSTALL_BLOBFUSE} " = " true" ] || [ " ${INSTALL_BLOBFUSE2} " = " true" ]
27
+ DISTRIBUTION=$( $HOST_CMD cat /etc/os-release | grep ^ID= | cut -d' =' -f2 | tr -d ' "' )
28
+ echo " Linux distribution: $DISTRIBUTION "
29
+
30
+ if [ " ${DISTRIBUTION} " = " ubuntu" ] && ([ " ${INSTALL_BLOBFUSE} " = " true" ] || [ " ${INSTALL_BLOBFUSE2} " = " true" ])
28
31
then
29
32
cp /blobfuse-proxy/packages-microsoft-prod.deb /host/etc/
30
33
# when running dpkg -i /etc/packages-microsoft-prod.deb, need to enter y to continue.
34
37
pkg_list=" "
35
38
if [ " ${INSTALL_BLOBFUSE} " = " true" ]
36
39
then
37
- pkg_list=" ${pkg_list} fuse"
40
+ if [ " $release " = " 18.04" ]; then
41
+ pkg_list=" ${pkg_list} fuse"
42
+ fi
38
43
# install blobfuse with latest version or specific version
39
44
if [ -z " ${BLOBFUSE_VERSION} " ]; then
40
45
echo " install blobfuse with latest version"
You can’t perform that action at this time.
0 commit comments