Fixed positional params

This commit is contained in:
Joseph Hall 2016-01-25 12:58:00 -07:00
parent 4e6e47d67a
commit dcf64c8113

View File

@ -719,7 +719,7 @@ def mount(name, device, mkmnt=False, fstype='', opts='defaults', user=None, util
if util != 'mount': if util != 'mount':
# This functionality used to live in img.mount_image # This functionality used to live in img.mount_image
if util == 'guestfs': if util == 'guestfs':
return __salt__['guestfs.mount'](name, device) return __salt__['guestfs.mount'](name, root=device)
elif util == 'qemu_nbd': elif util == 'qemu_nbd':
mnt = __salt__['qemu_nbd.init'](name, device) mnt = __salt__['qemu_nbd.init'](name, device)
if not mnt: if not mnt: