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 - Internal SSH through net-ssh now uses `IdentitiesOnly` thanks to
upstream net-ssh fix. upstream net-ssh fix.
- Fix issue causing warnings to show with `forwardx11` enabled for SSH. [GH-279] - 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) ## 0.7.0 (January 19, 2011)

View File

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

View File

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

View File

@ -59,6 +59,7 @@ module Vagrant
# Hard-coded internal systems # Hard-coded internal systems
mapping = { mapping = {
:debian => Systems::Debian, :debian => Systems::Debian,
:freebsd => Systems::FreeBSD,
:gentoo => Systems::Gentoo, :gentoo => Systems::Gentoo,
:redhat => Systems::Redhat, :redhat => Systems::Redhat,
:linux => Systems::Linux, :linux => Systems::Linux,