7Pikes / vagrant-serial

Vagrant plugin for serial ports forwarding.
MIT License
3 stars 0 forks source link

Vagrant::Serial

Vagrant::Serial allows you to configure serial ports forwarding with Vagrant. Tested with vagrant version 1.0.5.

Installation

$ vagrant gem install vagrant-serial

Configuration

There is a restriction in VirtualBox that you can use only 2 serial ports.

The basic Vagrantfile will look like this:

Vagrant::Config.run do |config|
  # Map COM1 port in virtual machine to 1024 port on the host
  config.serial.forward_com1 = 1024

  # Map COM2 port in virtual machine to 1025 port on the host
  config.serial.forward_com2 = 1025

  # Override sockets path
  # Default: ~/.vagrant.d/serial
  # config.serial.sockets_path = "/path/to/sockets/dir"
end

Requirements

Copyright

Copyright (c) 2012 Anton Mironov, Alexey Zagarin and 7 Pikes, Inc.

7pikes logo