vagrant-serial 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,9 +7,9 @@ module Vagrant
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def call(env)
|
10
|
-
command = ["modifyvm", env[:vm].uuid, "--uart1", "0x3F8", "4", "--uartmode1", "server", "
|
10
|
+
command = ["modifyvm", env[:vm].uuid, "--uart1", "0x3F8", "4", "--uartmode1", "server", "#{ENV['HOME']}/serial/#{env[:vm].uuid}-com1"]
|
11
11
|
env[:vm].driver.execute_command(command)
|
12
|
-
command = ["modifyvm", env[:vm].uuid, "--uart2", "0x2F8", "3", "--
|
12
|
+
command = ["modifyvm", env[:vm].uuid, "--uart2", "0x2F8", "3", "--uartmode2", "server", "#{ENV['HOME']}/serial/#{env[:vm].uuid}-com2"]
|
13
13
|
env[:vm].driver.execute_command(command)
|
14
14
|
@app.call(env)
|
15
15
|
end
|