Merge "Fix libvirt version discovery for CentOS Stream"

This commit is contained in:
Zuul 2020-11-11 19:44:07 +00:00 committed by Gerrit Code Review
commit 90ce461849
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class nova::compute::libvirt::version {
'RedHat': {
case $facts['os']['name'] {
'RedHat', 'CentOS': {
if versioncmp($facts['os']['release']['full'], '8.1') >= 0 {
if versioncmp($facts['os']['release']['full'], '8') >= 0 {
$default = '5.6'
} elsif versioncmp($facts['os']['release']['full'], '7.6') >= 0 {
$default = '4.5'