Merge "changed release check logic in lvm element"

This commit is contained in:
Zuul 2022-09-16 12:30:03 +00:00 committed by Gerrit Code Review
commit 9ce3358fde
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