Fix failure to detect RHEL 7 flavours

This commit is contained in:
Andy Thompson 2014-09-04 22:03:07 +01:00
parent f239638dde
commit e667bcb675
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module VagrantPlugins
output.chomp!
# 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
else
return :rhel