Add CloudLinux 7 to RHEL 7 flavors.
This commit is contained in:
parent
cb1749b375
commit
eaa4e11c62
|
@ -10,7 +10,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
# Detect various flavors we care about
|
||||
if output =~ /(CentOS|Red Hat Enterprise|Scientific) Linux( .+)? release 7/i
|
||||
if output =~ /(CentOS|Red Hat Enterprise|Scientific|Cloud)\s*Linux( .+)? release 7/i
|
||||
return :rhel_7
|
||||
else
|
||||
return :rhel
|
||||
|
|
|
@ -25,6 +25,7 @@ describe "VagrantPlugins::GuestRedHat::Cap::Flavor" do
|
|||
"CentOS Linux 2.4 release 7" => :rhel_7,
|
||||
"Red Hat Enterprise Linux release 7" => :rhel_7,
|
||||
"Scientific Linux release 7" => :rhel_7,
|
||||
"CloudLinux release 7.2 (Valeri Kubasov)" => :rhel_7,
|
||||
|
||||
"CentOS" => :rhel,
|
||||
"RHEL 6" => :rhel,
|
||||
|
|
Loading…
Reference in New Issue