Send new `id` element into NFS methods for hosts

This commit is contained in:
Mitchell Hashimoto 2011-12-11 23:26:04 -08:00
parent cdc01c449d
commit daeb7ea726
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ module Vagrant
def export_folders def export_folders
@env[:ui].info I18n.t("vagrant.actions.vm.nfs.exporting") @env[:ui].info I18n.t("vagrant.actions.vm.nfs.exporting")
@env[:host].nfs_export(guest_ip, folders) @env[:host].nfs_export(@env[:vm].uuid, guest_ip, folders)
end end
# Uses the system class to mount the NFS folders. # Uses the system class to mount the NFS folders.

View File

@ -3,7 +3,7 @@ module Vagrant
module VM module VM
module NFSHelpers module NFSHelpers
def clear_nfs_exports(env) def clear_nfs_exports(env)
env[:host].nfs_cleanup if env[:host] env[:host].nfs_cleanup(env[:vm].uuid) if env[:host]
end end
end end
end end