Fix Fedora version check
The regex in 84068e was inverted. Change-Id: Ibac88f2f5a2fbd52a3111d87d48352dd6dd813c4
This commit is contained in:
parent
4795ef87a8
commit
2f37a1f502
@ -268,7 +268,7 @@ function _undefine_virsh_secret {
|
|||||||
|
|
||||||
# check_os_support_ceph() - Check if the OS provides a decent version of Ceph
|
# check_os_support_ceph() - Check if the OS provides a decent version of Ceph
|
||||||
function check_os_support_ceph {
|
function check_os_support_ceph {
|
||||||
if [[ ! ${DISTRO} =~ f[0-9][0-9] ]]; then
|
if [[ ${DISTRO} =~ f[0-9][0-9] ]]; then
|
||||||
# Assume all versions of Fedora are fine as of 2018.
|
# Assume all versions of Fedora are fine as of 2018.
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user