hosts/redhat: recognize Korora [GH-2869]
This commit is contained in:
parent
a32e154e6e
commit
7e9ea7c1c6
|
@ -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.
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue