Properly detect Arch, Fedora, FreeBSD [GH-683]
This commit is contained in:
parent
0576d6e817
commit
f1dd5459f2
|
@ -8,6 +8,8 @@
|
|||
such as `~`.
|
||||
- NFS shared folders with a `:create` flag will have their host folders
|
||||
properly created if they don't exist. [GH-667]
|
||||
- Fix the precedence for Arch, Ubuntu, and FreeBSD host classes so
|
||||
they are properly detected. [GH-683]
|
||||
|
||||
## 0.9.3 (January 24, 2012)
|
||||
|
||||
|
|
|
@ -5,6 +5,11 @@ module Vagrant
|
|||
File.exist?("/etc/rc.conf") && File.exist?("/etc/pacman.conf")
|
||||
end
|
||||
|
||||
# Normal, mid-range precedence.
|
||||
def self.precedence
|
||||
5
|
||||
end
|
||||
|
||||
def nfs_export(id, ip, folders)
|
||||
output = TemplateRenderer.render('nfs/exports_linux',
|
||||
:uuid => id,
|
||||
|
|
|
@ -15,6 +15,11 @@ module Vagrant
|
|||
false
|
||||
end
|
||||
|
||||
# Normal, mid-range precedence.
|
||||
def self.precedence
|
||||
5
|
||||
end
|
||||
|
||||
def initialize(*args)
|
||||
super
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@ module Vagrant
|
|||
Util::Platform.freebsd?
|
||||
end
|
||||
|
||||
# Normal, mid-range precedence.
|
||||
def self.precedence
|
||||
5
|
||||
end
|
||||
|
||||
def initialize(*args)
|
||||
super
|
||||
|
||||
|
|
Loading…
Reference in New Issue