mitchellh/vagrant — Issue #536: Allow VM serial ports
Author: hedgehog
Created: 2011-10-24 04:23:18+00:00
State: open

Observation:
Issue #391 and related suggest there is some difference in running vm headless or with gui enabled.

When running VMs in headless/vrdp mode it is important to have the kernel messages piped to a local file on the host.
See references for howtos.

In a Vagrantfile it will help to have:

- `cfg.vm.serial_ports = {:1 => {:enabled => true, :port_number => 1|2|3|4, :mode => :host_file|etc., :path => '/tmp/vboxconsole'}, :2 => { etc }}`

References:
http://www.opensourcery.co.za/2009/09/30/virtualbox-gentoo-and-serial-consoles/
http://techtooltip.wordpress.com/2008/09/12/using-host-serial-port-from-guest-in-virtual-box/