Add support for setting fstab location on Linux too for mount (#3271)

Fix #3153
reviewable/pr18780/r1
Michael Scherer 10 years ago committed by Brian Coca
parent f6450e577f
commit 5f1d6ded7f

@ -233,6 +233,9 @@ def mount(module, **kwargs):
if get_platform().lower() == 'freebsd':
cmd += [ '-F', args['fstab'], ]
if get_platform().lower() == 'linux':
cmd += [ '-T', args['fstab'], ]
cmd += [ name, ]
rc, out, err = module.run_command(cmd)

Loading…
Cancel
Save