Add port forwarding middleware to containers boot action
This commit is contained in:
parent
dd99c56cda
commit
0f3b99b376
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ require 'vagrant-lxc/action/created'
|
||||||
require 'vagrant-lxc/action/destroy'
|
require 'vagrant-lxc/action/destroy'
|
||||||
require 'vagrant-lxc/action/disconnect'
|
require 'vagrant-lxc/action/disconnect'
|
||||||
require 'vagrant-lxc/action/forced_halt'
|
require 'vagrant-lxc/action/forced_halt'
|
||||||
|
require 'vagrant-lxc/action/forward_ports'
|
||||||
require 'vagrant-lxc/action/handle_box_metadata'
|
require 'vagrant-lxc/action/handle_box_metadata'
|
||||||
require 'vagrant-lxc/action/is_running'
|
require 'vagrant-lxc/action/is_running'
|
||||||
require 'vagrant-lxc/action/network'
|
require 'vagrant-lxc/action/network'
|
||||||
|
@ -55,10 +56,10 @@ module Vagrant
|
||||||
# b.use ClearSharedFolders
|
# b.use ClearSharedFolders
|
||||||
b.use ShareFolders
|
b.use ShareFolders
|
||||||
b.use Network
|
b.use Network
|
||||||
# b.use ForwardPorts
|
|
||||||
b.use Vagrant::Action::Builtin::SetHostname
|
b.use Vagrant::Action::Builtin::SetHostname
|
||||||
# b.use SaneDefaults
|
# b.use SaneDefaults
|
||||||
# b.use Customize
|
# b.use Customize
|
||||||
|
b.use ForwardPorts
|
||||||
b.use Boot
|
b.use Boot
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue