Make host class available to all actions
This commit is contained in:
parent
daeb7ea726
commit
fd9b752938
|
@ -197,9 +197,10 @@ module Vagrant
|
||||||
def action_runner
|
def action_runner
|
||||||
@action_runner ||= Action::Runner.new(action_registry) do |env|
|
@action_runner ||= Action::Runner.new(action_registry) do |env|
|
||||||
{
|
{
|
||||||
:global_config => config.global,
|
|
||||||
:action_runner => action_runner,
|
:action_runner => action_runner,
|
||||||
:box_collection => boxes,
|
:box_collection => boxes,
|
||||||
|
:global_config => config.global,
|
||||||
|
:host => host,
|
||||||
:root_path => root_path,
|
:root_path => root_path,
|
||||||
:tmp_path => tmp_path,
|
:tmp_path => tmp_path,
|
||||||
:ui => @ui
|
:ui => @ui
|
||||||
|
|
|
@ -383,7 +383,7 @@ en:
|
||||||
host_required: |-
|
host_required: |-
|
||||||
A host class is required for NFS shared folders. By default, these
|
A host class is required for NFS shared folders. By default, these
|
||||||
are auto-detected, but can be overridden with `config.vagrant.host`.
|
are auto-detected, but can be overridden with `config.vagrant.host`.
|
||||||
There is currently not host class loaded.
|
There is currently no host class loaded.
|
||||||
no_host_network: |-
|
no_host_network: |-
|
||||||
NFS shared folders requires that host only networking is enabled.
|
NFS shared folders requires that host only networking is enabled.
|
||||||
Please enable host only networking via `config.vm.network`.
|
Please enable host only networking via `config.vm.network`.
|
||||||
|
|
Loading…
Reference in New Issue