mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
Added Virtuozzo distribution support
Virtuozzo Linux is based on CentOS sources. Thus OS family should be recognized as 'RedHat'. Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
This commit is contained in:
parent
3765dc37ca
commit
097173c6f5
2 changed files with 30 additions and 1 deletions
|
@ -126,6 +126,35 @@ TESTSETS = [
|
|||
"distribution_version": "6.7"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Virtuozzo 7.3",
|
||||
"platform.dist": [
|
||||
"redhat",
|
||||
"7.3",
|
||||
""
|
||||
],
|
||||
"input": {
|
||||
"/etc/redhat-release": "Virtuozzo Linux release 7.3\n",
|
||||
"/etc/os-release": ("NAME=\"Virtuozzo\"\n"
|
||||
"VERSION=\"7.0.3\"\n"
|
||||
"ID=\"virtuozzo\"\n"
|
||||
"ID_LIKE=\"rhel fedora\"\n"
|
||||
"VERSION_ID=\"7\"\n"
|
||||
"PRETTY_NAME=\"Virtuozzo release 7.0.3\"\n"
|
||||
"ANSI_COLOR=\"0;31\"\n"
|
||||
"CPE_NAME=\"cpe:/o:virtuozzoproject:vz:7\"\n"
|
||||
"HOME_URL=\"http://www.virtuozzo.com\"\n"
|
||||
"BUG_REPORT_URL=\"https://bugs.openvz.org/\"\n"),
|
||||
"/etc/system-release": "Virtuozzo release 7.0.3 (640)\n"
|
||||
},
|
||||
"result": {
|
||||
"distribution_release": "NA",
|
||||
"distribution": "Virtuozzo",
|
||||
"distribution_major_version": "7",
|
||||
"os_family": "RedHat",
|
||||
"distribution_version": "7.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "openSUSE Leap 42.1",
|
||||
"input": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue