Merge "[lvm] Add Ubuntu bionic as supported distro"

This commit is contained in:
Zuul 2019-03-11 09:19:49 +00:00 committed by Gerrit Code Review
commit bdfc13a5c0

View File

@ -11,7 +11,7 @@ if [ 'ubuntu' != $DISTRO_NAME ]; then
exit 1
fi
if [ 'xenial' != $DIB_RELEASE ]; then
echo "Only xenial is supported for LVM support. The DIB_RELEASE is set to $DIB_RELEASE"
if [[ ! $DIB_RELEASE =~ (xenial|bionic) ]]; then
echo "Only xenial and bionic are supported for LVM support. The DIB_RELEASE is set to $DIB_RELEASE"
exit 1
fi