Fix RHEL7 vendor detection
When detecting os_VENDOR, the lsb_release output may be different from what is expected today. This patch fixes the detection. Change-Id: I850ad1acbc2397c73e7cc85c1765cba6ba2f98d4
This commit is contained in:
parent
04ed38b5d7
commit
78d3739dbe
@ -440,6 +440,7 @@ function is_fedora {
|
||||
fi
|
||||
|
||||
[ "$os_VENDOR" = "Fedora" ] || [ "$os_VENDOR" = "Red Hat" ] || \
|
||||
[ "$os_VENDOR" = "RedHatEnterpriseServer" ] || \
|
||||
[ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleLinux" ] || \
|
||||
[ "$os_VENDOR" = "Virtuozzo" ] || [ "$os_VENDOR" = "kvmibm" ]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user