From e667bcb67573fada7b30c0fca0bf7d1d53dcdee7 Mon Sep 17 00:00:00 2001 From: Andy Thompson Date: Thu, 4 Sep 2014 22:03:07 +0100 Subject: [PATCH] Fix failure to detect RHEL 7 flavours --- plugins/guests/redhat/cap/flavor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/redhat/cap/flavor.rb b/plugins/guests/redhat/cap/flavor.rb index f7ff15140..b85810a06 100644 --- a/plugins/guests/redhat/cap/flavor.rb +++ b/plugins/guests/redhat/cap/flavor.rb @@ -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