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
|
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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue