summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/start/post
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-03-11 09:32:03 -0700
committerVijay Bellur <vbellur@redhat.com>2014-03-11 23:45:14 -0700
commit3076f75e57b971dd07165929b3dc4d0b0e312623 (patch)
tree69a2c2c2491d06729666e84c5c297d31b20aa66e /extras/hook-scripts/start/post
parentecc475d0a517d7f58014bed93fc0957b3369d1b7 (diff)
scripts: CTDB hooks should add `_netdev` for network mounts
Change-Id: I86ad5e9ed291866a8d478768fb447e269f51c39e BUG: 1075182 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/7221 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Jose A. Rivera <jarrpa@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras/hook-scripts/start/post')
-rwxr-xr-xextras/hook-scripts/start/post/S29CTDBsetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hook-scripts/start/post/S29CTDBsetup.sh b/extras/hook-scripts/start/post/S29CTDBsetup.sh
index da077a6fbeb..7d5085c46f6 100755
--- a/extras/hook-scripts/start/post/S29CTDBsetup.sh
+++ b/extras/hook-scripts/start/post/S29CTDBsetup.sh
@@ -55,7 +55,7 @@ function add_glusterfs_ctdb_options () {
function add_fstab_entry () {
volname=$1
mntpt=$2
- mntent="`hostname`:/$volname $mntpt glusterfs defaults,transport=tcp 0 0"
+ mntent="`hostname`:/$volname $mntpt glusterfs _netdev,defaults,transport=tcp 0 0"
exists=`grep "^$mntent" /etc/fstab`
if [ "$exists" == "" ]
then