Vagrant plugin for serial ports forwarding.
Ruby
Switch branches/tags
Nothing to show
Latest commit 6362748 Feb 9, 2013 @mironov mironov Fixed 7pikes logo path
Permalink
Failed to load latest commit information.
lib Requirements fix and version bump Nov 12, 2012
.gitignore Gemify Oct 25, 2012
Gemfile Gemify Oct 25, 2012
LICENSE Gemify Oct 25, 2012
README.md Fixed 7pikes logo path Feb 9, 2013
Rakefile Gemify Oct 25, 2012
vagrant-serial.gemspec Added description Oct 25, 2012

README.md

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

  • Ubuntu or Debian Linux (or manually install /sbin/start-stop-daemon)
  • /usr/bin/socat (use apt-get install socat for Ubuntu/Debian)

Copyright

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

7pikes logo