Make use of vagrant's builtin action for handling forwarded port collisions

Closes #5
This commit is contained in:
Fabio Rehm 2013-07-28 02:39:08 -03:00
parent 7f58f7a26e
commit dee099ce96
3 changed files with 2 additions and 3 deletions

View file

@ -18,6 +18,7 @@ IMPROVEMENTS:
- Error out if `redir` is not installed but port forwarding was configured [#112](https://github.com/fgrehm/vagrant-lxc/issues/112)
- Support for specifying host interface/ip for binding `redir` [#76](https://github.com/fgrehm/vagrant-lxc/issues/76)
- Add Vagrantfile VM name to the container name [#115](https://github.com/fgrehm/vagrant-lxc/issues/115)
- Properly handle forwarded port collisions [#5](https://github.com/fgrehm/vagrant-lxc/issues/5)
## [0.4.0](https://github.com/fgrehm/vagrant-lxc/compare/v0.3.4...v0.4.0) (Jul 18, 2013)

View file

@ -141,8 +141,6 @@ base boxes and information on [how to build your own](https://github.com/fgrehm/
## Current limitations
* The plugin does not detect forwarded ports collision, right now you are
responsible for taking care of that.
* [Does not tell you if dependencies are not met](https://github.com/fgrehm/vagrant-lxc/issues/11)
(will probably just throw up some random error)
* + bunch of other [core features](https://github.com/fgrehm/vagrant-lxc/issues?labels=core&milestone=&page=1&state=open)

View file

@ -47,7 +47,7 @@ module Vagrant
# b.use ClearForwardedPorts
b.use Vagrant::Action::Builtin::Provision
b.use Vagrant::Action::Builtin::EnvSet, :port_collision_repair => true
# b.use PrepareForwardedPortCollisionParams
b.use Vagrant::Action::Builtin::HandleForwardedPortCollisions
b.use ShareFolders
b.use Vagrant::Action::Builtin::SetHostname
b.use ForwardPorts