Use centos as base element for dib images

At the moment, it's not possible to use diskimage-builder to
create images based on centos-minimal on ubuntu focal.
To be able to use ubuntu focal as nodeset, we start using
the centos dib element.

Change-Id: Ibe363729038da92c630c4d8c4deedb2507515999
This commit is contained in:
Riccardo Pittau 2020-10-13 12:32:32 +02:00
parent fc541ec3db
commit 86bee227c9
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ IRONIC_DIB_RAMDISK_OPTIONS=${IRONIC_DIB_RAMDISK_OPTIONS:-}
if [[ -z "$IRONIC_DIB_RAMDISK_OPTIONS" ]]; then
if [[ "$IRONIC_DIB_RAMDISK_OS" == "centos8" ]]; then
# Adapt for DIB naming change
IRONIC_DIB_RAMDISK_OS=centos-minimal
IRONIC_DIB_RAMDISK_OS=centos
IRONIC_DIB_RAMDISK_RELEASE=8
fi
IRONIC_DIB_RAMDISK_OPTIONS="$IRONIC_DIB_RAMDISK_OS"