From 9c066a8f75cb14ceafa71ed55a6104251da9aad0 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Tue, 13 Oct 2020 12:32:32 +0200 Subject: [PATCH] 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 (cherry picked from commit 86bee227c96be02077a47c41a6cdd92357e4fff0) --- devstack/lib/ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 899a42a559..d5ca893b9d 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -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"