Merge "Run RHEL system unregister element earlier"
This commit is contained in:
commit
14152b1657
@ -26,7 +26,7 @@ if [ -n "$DIB_LOCAL_IMAGE" ]; then
|
|||||||
BASE_IMAGE_FILE=`basename $DIB_LOCAL_IMAGE`
|
BASE_IMAGE_FILE=`basename $DIB_LOCAL_IMAGE`
|
||||||
BASE_IMAGE_TAR=$BASE_IMAGE_FILE.tgz
|
BASE_IMAGE_TAR=$BASE_IMAGE_FILE.tgz
|
||||||
else
|
else
|
||||||
if [ -z "${BASE_IMAGE_FILE:-}" -o -z "${DIB_CLOUD_IMAGES}" ]; then
|
if [ -z "${BASE_IMAGE_FILE:-}" -o -z "${DIB_CLOUD_IMAGES:-}" ]; then
|
||||||
echo "No source for a base image file configured."
|
echo "No source for a base image file configured."
|
||||||
echo "See rhel7 element readme for details on how to obtain and use a base image."
|
echo "See rhel7 element readme for details on how to obtain and use a base image."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user