2017-03-22 22:37:57 +00:00
|
|
|
_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2016-07-16 20:16:13 +00:00
|
|
|
|
2017-03-22 22:37:57 +00:00
|
|
|
if [[ "$ARCH" =~ "ppc" ]] ; then
|
|
|
|
DIB_BLOCK_DEVICE_DEFAULT_CONFIG="$(cat $_DIR/../block-device-ppc.yaml)"
|
|
|
|
else
|
|
|
|
DIB_BLOCK_DEVICE_DEFAULT_CONFIG="$(cat $_DIR/../block-device-default.yaml)"
|
|
|
|
fi
|
2016-07-16 20:16:13 +00:00
|
|
|
|
|
|
|
DIB_BLOCK_DEVICE_CONFIG=${DIB_BLOCK_DEVICE_CONFIG:-${DIB_BLOCK_DEVICE_DEFAULT_CONFIG}}
|
|
|
|
export DIB_BLOCK_DEVICE_CONFIG
|
2017-03-22 22:37:57 +00:00
|
|
|
|
|
|
|
# Local variables:
|
|
|
|
# mode: sh
|
|
|
|
# End:
|