vagrant-serial 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -0
- data/lib/vagrant-serial/version.rb +1 -1
- data/lib/vagrant-serial.rb +1 -0
- metadata +1 -1
data/README.md
CHANGED
@@ -16,6 +16,13 @@ Or install it yourself as:
|
|
16
16
|
|
17
17
|
$ gem install vagrant-serial
|
18
18
|
|
19
|
+
## To Do
|
20
|
+
|
21
|
+
1. Good readme file
|
22
|
+
2. Add logging
|
23
|
+
3. Traverse ports
|
24
|
+
4. Make configurable: range of ports, path to sockets
|
25
|
+
|
19
26
|
## Usage
|
20
27
|
|
21
28
|
TODO: Write usage instructions here
|
data/lib/vagrant-serial.rb
CHANGED
@@ -6,5 +6,6 @@ require "vagrant-serial/middleware/clear_forwarded_ports"
|
|
6
6
|
|
7
7
|
Vagrant.actions[:start].insert_after Vagrant::Action::VM::Customize, Vagrant::Serial::Middleware::ConfigurePorts
|
8
8
|
Vagrant.actions[:start].insert_after Vagrant::Action::VM::Boot, Vagrant::Serial::Middleware::ForwardPorts
|
9
|
+
Vagrant.actions[:resume].insert_after Vagrant::Action::VM::Resume, Vagrant::Serial::Middleware::ForwardPorts
|
9
10
|
Vagrant.actions[:halt].insert_after Vagrant::Action::VM::CheckAccessible, Vagrant::Serial::Middleware::ClearForwardedPorts
|
10
11
|
Vagrant.actions[:suspend].insert_after Vagrant::Action::VM::CheckAccessible, Vagrant::Serial::Middleware::ClearForwardedPorts
|