changed release check logic in lvm element

Change-Id: I83b3c2dad3b0d6006ae23307ae7a8a83b12806e7
This commit is contained in:
Rafal Lewandowski 2022-08-25 10:51:25 +02:00
parent 833c5b8ceb
commit f9287fe2ae
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -0,0 +1,4 @@
---
features:
- |
Allow processing 'jammy' ubuntu release in lvm