Merge pull request #4462 from andytson/feature/redhat-flavour-fix

guests/redhat: Fix failure to detect RHEL 7 flavours
This commit is contained in:
Mitchell Hashimoto 2014-09-04 14:06:32 -07:00
commit 18ad1b9baf
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module VagrantPlugins
output.chomp! output.chomp!
# Detect various flavors we care about # Detect various flavors we care about
if output =~ /(CentOS|Red Hat Enterprise) Linux release 7/i if output =~ /(CentOS|Red Hat Enterprise) Linux( .+)? release 7/i
return :rhel_7 return :rhel_7
else else
return :rhel return :rhel