summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/volume_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/volume_ops.py')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/volume_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/volume_ops.py b/glustolibs-gluster/glustolibs/gluster/volume_ops.py
index 0239152c6..f7a9473cb 100644
--- a/glustolibs-gluster/glustolibs/gluster/volume_ops.py
+++ b/glustolibs-gluster/glustolibs/gluster/volume_ops.py
@@ -544,7 +544,7 @@ def set_volume_options(mnode, volname, options):
"""
_rc = True
for option in options:
- cmd = ("gluster volume set %s %s %s"
+ cmd = ("gluster volume set %s %s %s --mode=script"
% (volname, option, options[option]))
ret, _, _ = g.run(mnode, cmd)
if ret != 0: