Fix failure to detect RHEL 7 flavours
This commit is contained in:
parent
f239638dde
commit
e667bcb675
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue