[lvm] Add Ubuntu bionic as supported distro

The way how LVM is created on Ubuntu Xenial and Ubuntu Bionic
is the same.

Change-Id: I16d548f6393dd3cdfd5a9befa5c0ef0f6db92df1
This commit is contained in:
Gaëtan Trellu 2019-03-04 15:03:14 -05:00
parent 0f8d340c6c
commit bbde9bb320

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