guests/linux: Emit upstart event on VirtualBox using the expanded path

This commit is contained in:
Teemu Matilainen 2013-12-22 08:55:59 -03:00
parent 2fab268ede
commit 572cdeeda9
1 changed files with 1 additions and 1 deletions

View File

@ -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