vagrant-serial 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,8 +7,8 @@ module Vagrant
7
7
  end
8
8
 
9
9
  def call(env)
10
- env[:vm].channel.execute("socat tcp-l:30001,reuseaddr,fork UNIX-CONNECT:$HOME/serial/#{env[:vm].uuid}-com1 &")
11
- env[:vm].channel.execute("socat tcp-l:30002,reuseaddr,fork UNIX-CONNECT:$HOME/serial/#{env[:vm].uuid}-com2 &")
10
+ env[:vm].channel.execute("socat tcp-l:30001,reuseaddr,fork UNIX-CONNECT:#{ENV['HOME']}/serial/#{env[:vm].uuid}-com1 &")
11
+ env[:vm].channel.execute("socat tcp-l:30002,reuseaddr,fork UNIX-CONNECT:#{ENV['HOME']}/serial/#{env[:vm].uuid}-com2 &")
12
12
  @app.call(env)
13
13
  end
14
14
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Serial
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -4,5 +4,5 @@ require "vagrant-serial/version"
4
4
  require "vagrant-serial/middleware/configure"
5
5
  require "vagrant-serial/middleware/forward"
6
6
 
7
- Vagrant.actions[:start].insert_after Vagrant::Action::VM::ShareFolders, Vagrant::Serial::Middleware::Configure
8
- Vagrant.actions[:start].use Vagrant::Serial::Middleware::Forward
7
+ Vagrant.actions[:start].insert_after Vagrant::Action::VM::Customize, Vagrant::Serial::Middleware::Configure
8
+ Vagrant.actions[:start].insert_after Vagrant::Action::VM::Boot, Vagrant::Serial::Middleware::Forward
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-serial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: