mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fixed positional params
This commit is contained in:
parent
4e6e47d67a
commit
dcf64c8113
@ -719,7 +719,7 @@ def mount(name, device, mkmnt=False, fstype='', opts='defaults', user=None, util
|
||||
if util != 'mount':
|
||||
# This functionality used to live in img.mount_image
|
||||
if util == 'guestfs':
|
||||
return __salt__['guestfs.mount'](name, device)
|
||||
return __salt__['guestfs.mount'](name, root=device)
|
||||
elif util == 'qemu_nbd':
|
||||
mnt = __salt__['qemu_nbd.init'](name, device)
|
||||
if not mnt:
|
||||
|
Loading…
Reference in New Issue
Block a user