hosts/redhat: recognize Korora [GH-2869]

This commit is contained in:
Mitchell Hashimoto 2014-01-21 09:50:20 -08:00
parent a32e154e6e
commit 7e9ea7c1c6
2 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,7 @@ IMPROVEMENTS:
plugins.
- commands/plugin: `vagrant plugin install` can now install multiple
plugins.
- hosts/redhat: Recognize Korora OS. [GH-2869]
- synced\_folders/nfs: If the guest supports it, NFS clients will be
automatically installed in the guest.

View File

@ -11,8 +11,9 @@ module VagrantPlugins
if release_file.exist?
release_file.open("r:ISO-8859-1:UTF-8") do |f|
contents = f.gets
return true if contents =~ /^Fedora/ # Fedora
return true if contents =~ /^CentOS/ # CentOS
return true if contents =~ /^Fedora/ # Fedora
return true if contents =~ /^Korora/ # Korora
# Oracle Linux < 5.3
return true if contents =~ /^Enterprise Linux Enterprise Linux/