kernel/v2: a host always exists, remove dumb check
This commit is contained in:
parent
e9f6c81ab7
commit
e2af545182
|
@ -455,12 +455,8 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
if has_nfs
|
||||
if !machine.env.host
|
||||
errors << I18n.t("vagrant.config.vm.nfs_requires_host")
|
||||
else
|
||||
errors << I18n.t("vagrant.config.vm.nfs_not_supported") if \
|
||||
!machine.env.host.capability(:nfs_installed)
|
||||
end
|
||||
errors << I18n.t("vagrant.config.vm.nfs_not_supported") if \
|
||||
!machine.env.host.capability(:nfs_installed)
|
||||
end
|
||||
|
||||
# Validate networks
|
||||
|
|
|
@ -877,9 +877,6 @@ en:
|
|||
that `nfsd` is installed on your machine, and try again. If you're
|
||||
on Windows, NFS isn't supported. If the problem persists, please
|
||||
contact Vagrant support.
|
||||
nfs_requires_host: |-
|
||||
Using NFS shared folders requires a host to be specified
|
||||
using `config.vagrant.host`.
|
||||
network_ip_ends_in_one: |-
|
||||
Static IPs cannot end in ".1" since that address is always
|
||||
reserved for the router. Please use another ending.
|
||||
|
|
Loading…
Reference in New Issue