Send new `id` element into NFS methods for hosts
This commit is contained in:
parent
cdc01c449d
commit
daeb7ea726
|
@ -106,7 +106,7 @@ module Vagrant
|
|||
def export_folders
|
||||
@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
|
||||
|
||||
# Uses the system class to mount the NFS folders.
|
||||
|
|
|
@ -3,7 +3,7 @@ module Vagrant
|
|||
module VM
|
||||
module NFSHelpers
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue