FreeBSD system

This commit is contained in:
Mitchell Hashimoto 2011-01-21 16:02:12 -08:00
parent 484b7290fa
commit baa2041c37
4 changed files with 8 additions and 4 deletions

View File

@ -4,6 +4,7 @@
- Internal SSH through net-ssh now uses `IdentitiesOnly` thanks to
upstream net-ssh fix.
- Fix issue causing warnings to show with `forwardx11` enabled for SSH. [GH-279]
- FreeBSD support for host only networks, NFS, halting, etc. [GH-275]
## 0.7.0 (January 19, 2011)

View File

@ -1,6 +1,7 @@
# These can't be autoloaded because they have to register functionality
# with Vagrant core.
require 'vagrant/systems/base'
require 'vagrant/systems/freebsd'
require 'vagrant/systems/linux'
require 'vagrant/systems/solaris'

View File

@ -43,6 +43,7 @@ module Vagrant
end
end
# TODO: Error/warning about this.
# def mount_shared_folder(ssh, name, guestpath)
# ssh.exec!("sudo mkdir -p #{guestpath}")
# # Using a custom mount method here; could use improvement.

View File

@ -58,10 +58,11 @@ module Vagrant
elsif system.is_a?(Symbol)
# Hard-coded internal systems
mapping = {
:debian => Systems::Debian,
:gentoo => Systems::Gentoo,
:redhat => Systems::Redhat,
:linux => Systems::Linux,
:debian => Systems::Debian,
:freebsd => Systems::FreeBSD,
:gentoo => Systems::Gentoo,
:redhat => Systems::Redhat,
:linux => Systems::Linux,
:solaris => Systems::Solaris
}