From 7e9ea7c1c68ae1fb1b110e8a7d807d35d356e52b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 21 Jan 2014 09:50:20 -0800 Subject: [PATCH] hosts/redhat: recognize Korora [GH-2869] --- CHANGELOG.md | 1 + plugins/hosts/redhat/host.rb | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4b566f02..3f5937c11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/plugins/hosts/redhat/host.rb b/plugins/hosts/redhat/host.rb index 325d81307..586686a9a 100644 --- a/plugins/hosts/redhat/host.rb +++ b/plugins/hosts/redhat/host.rb @@ -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/