Virtuozzo is a RHEL-based distribution serving as a platform OS
to host proprietary container virtualization
(formerly, Parallels Cloud Server).
We moved away from CloudLinux distribution, which has actually
no support in Devstack (no such clause in is_fedora).
As it was us who introduced CloudLinux, by this patch
we replace it with Virtuozzo distribution.
More info on Virtuozzo company here: http://virtuozzo.com
Change-Id: Ib8a77e4611ebc05bc0aa50bb83ab79c412e21c74
| ... | ... |
@@ -380,7 +380,8 @@ function GetDistro {
|
| 380 | 380 |
DISTRO="sle${os_RELEASE%.*}"
|
| 381 | 381 |
elif [[ "$os_VENDOR" =~ (Red.*Hat) || \ |
| 382 | 382 |
"$os_VENDOR" =~ (CentOS) || \ |
| 383 |
- "$os_VENDOR" =~ (OracleLinux) ]]; then |
|
| 383 |
+ "$os_VENDOR" =~ (OracleLinux) || \ |
|
| 384 |
+ "$os_VENDOR" =~ (Virtuozzo) ]]; then |
|
| 384 | 385 |
# Drop the . release as we assume it's compatible |
| 385 | 386 |
# XXX re-evaluate when we get RHEL10 |
| 386 | 387 |
DISTRO="rhel${os_RELEASE::1}"
|
| ... | ... |
@@ -421,7 +422,7 @@ function is_fedora {
|
| 421 | 421 |
|
| 422 | 422 |
[ "$os_VENDOR" = "Fedora" ] || [ "$os_VENDOR" = "Red Hat" ] || \ |
| 423 | 423 |
[ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleLinux" ] || \ |
| 424 |
- [ "$os_VENDOR" = "CloudLinux" ] || [ "$os_VENDOR" = "kvmibm" ] |
|
| 424 |
+ [ "$os_VENDOR" = "Virtuozzo" ] || [ "$os_VENDOR" = "kvmibm" ] |
|
| 425 | 425 |
} |
| 426 | 426 |
|
| 427 | 427 |
|