From 572cdeeda9dc83a4b6da76c95aeee17a52698e82 Mon Sep 17 00:00:00 2001 From: Teemu Matilainen Date: Sun, 22 Dec 2013 08:55:59 -0300 Subject: [PATCH] guests/linux: Emit upstart event on VirtualBox using the expanded path --- plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb b/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb index 9459a9842..069614ded 100644 --- a/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb +++ b/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb @@ -73,7 +73,7 @@ module VagrantPlugins # Emit an upstart event if we can if machine.communicate.test("test -x /sbin/initctl") machine.communicate.sudo( - "/sbin/initctl emit --no-wait vagrant-mounted MOUNTPOINT=#{guestpath}") + "/sbin/initctl emit --no-wait vagrant-mounted MOUNTPOINT=#{expanded_guest_path}") end end end