From dcf64c81139c0b5c6b0a23a1da3e9f9b7ce1b6cb Mon Sep 17 00:00:00 2001 From: Joseph Hall Date: Mon, 25 Jan 2016 12:58:00 -0700 Subject: [PATCH] Fixed positional params --- salt/modules/mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/mount.py b/salt/modules/mount.py index d4c18bb077..1aead5c929 100644 --- a/salt/modules/mount.py +++ b/salt/modules/mount.py @@ -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: