Register fedora host as CentOS too [GH-1394]

This commit is contained in:
Mitchell Hashimoto 2013-07-18 11:23:46 -04:00
parent a91edab591
commit e73e2b375d
2 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,7 @@ BUG FIXES:
- NFS export allows access from all private networks on the VM. [GH-1204]
- Default VirtualBox VM name now contains the machine name as defined
in the Vagrantfile, helping differentiate multi-VM. [GH-1281]
- NFS works properly on CentOS hosts. [GH-1394]
## 1.2.4 (July 16, 2013)

View File

@ -12,7 +12,9 @@ module VagrantPlugins
if release_file.exist?
release_file.open("r") do |f|
return true if f.gets =~ /^Fedora/
contents = f.gets
return true if contents =~ /^Fedora/
return true if contents =~ /^CentOS/
end
end