Don't depend on block-device elements

Element search order is not deterministic, so when
overcloud-partition-uefi depends on block-device-efi, it is not
possible to know which block-device-default.yaml will be applied.

To avoid this, don't depend on the block-device-* elements ever, and
just duplicate what they do within these elements.

Change-Id: Icea31169a68ab0ea24e6cd1ba0f7d8e88cc07f1f
Blueprint: whole-disk-default
This commit is contained in:
Steve Baker 2021-05-03 15:34:37 +12:00
parent f90a830fba
commit fe5cc75a2e
6 changed files with 22 additions and 2 deletions

View File

@ -1 +0,0 @@
block-device-efi

View File

@ -0,0 +1 @@
block-device

View File

@ -0,0 +1,10 @@
#
# Arch gate
#
if [[ "ppc64 ppc64le ppc64el" =~ "$ARCH" ]]; then
echo "overcloud-partition-uefi is not supported on Power"
exit 1
fi
export DIB_BLOCK_DEVICE=efi

View File

@ -1 +0,0 @@
block-device-mbr

View File

@ -0,0 +1 @@
block-device

View File

@ -0,0 +1,10 @@
#
# Arch gate
#
if [[ "arm64 aarch64" =~ $ARCH ]]; then
echo "overcloud-partition is not supported on AARCH64"
exit 1
fi
export DIB_BLOCK_DEVICE=mbr