guests: RHEL 9 and CentOS stream 9 are out

This commit is contained in:
Dusty Mabe 2022-06-03 18:37:08 -04:00 committed by sophia
parent 7e54c83192
commit 3b1e277f72
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ module VagrantPlugins
return :centos_7
elsif output =~ /(CentOS)( .+)? 8/i
return :centos_8
elsif output =~ /(CentOS)( .+)? 9/i
return :centos_9
else
return :centos
end

View File

@ -14,6 +14,8 @@ module VagrantPlugins
return :rhel_7
elsif output =~ /(Red Hat Enterprise|Scientific|Cloud|Virtuozzo)\s*Linux( .+)? release 8/i
return :rhel_8
elsif output =~ /(Red Hat Enterprise|Scientific|Cloud|Virtuozzo)\s*Linux( .+)? release 9/i
return :rhel_9
else
return :rhel
end