mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Need to pass an empty device
This commit is contained in:
parent
aba28a1baf
commit
51cba1e6a4
@ -77,7 +77,7 @@ def _mount(path, ftype):
|
||||
util = 'qemu_nbd'
|
||||
else:
|
||||
return None
|
||||
mpt = __salt__['mount.mount'](path, util=util)
|
||||
mpt = __salt__['mount.mount'](path, device=None, util=util)
|
||||
if not mpt:
|
||||
return None
|
||||
return mpt
|
||||
|
Loading…
Reference in New Issue
Block a user