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:
parent
f90a830fba
commit
fe5cc75a2e
|
@ -1 +0,0 @@
|
|||
block-device-efi
|
|
@ -0,0 +1 @@
|
|||
block-device
|
|
@ -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
|
|
@ -1 +0,0 @@
|
|||
block-device-mbr
|
|
@ -0,0 +1 @@
|
|||
block-device
|
|
@ -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
|
Loading…
Reference in New Issue