summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorMPLX <mplx+redhat@donotreply.at>2019-07-18 12:13:09 +0530
committerAmar Tumballi <amarts@redhat.com>2019-07-23 09:29:37 +0000
commitdafab9fd5e4afe0f1cdd8d2e3ce7b4037faf4830 (patch)
treefd4c0b52e65bf8311cc4297d4e56a9a531a299db /extras
parent8a84a2ca7e70c0682d3f0f1f83892914725db59c (diff)
extras/mount-shared-storage.sh: consider options to mount
If different mount options are given to glusterfs in /etc/fstab, it was not considered in the script. Fixes: bz#1690454 Change-Id: If829b3d6ab79755647626edcb31f38a3716989db Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'extras')
-rwxr-xr-xextras/mount-shared-storage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mount-shared-storage.sh b/extras/mount-shared-storage.sh
index e99233f7e1e..cc40e13c3e3 100755
--- a/extras/mount-shared-storage.sh
+++ b/extras/mount-shared-storage.sh
@@ -21,7 +21,7 @@ do
continue
fi
- mount -t glusterfs "${arr[0]}" "${arr[1]}"
+ mount -t glusterfs -o "${arr[3]}" "${arr[0]}" "${arr[1]}"
#wait for few seconds
sleep 10