Merge "force arch amd64 for EL7 elements"

This commit is contained in:
Jenkins 2015-05-12 20:30:00 +00:00 committed by Gerrit Code Review
commit f8d618bfa6
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,9 @@ set -o pipefail
if [ 'amd64' = "$ARCH" ] ; then if [ 'amd64' = "$ARCH" ] ; then
ARCH="x86_64" ARCH="x86_64"
else
echo 'centos7 root element only support the amd64 $ARCH value.'
exit 1
fi fi
DIB_LOCAL_IMAGE=${DIB_LOCAL_IMAGE:-} DIB_LOCAL_IMAGE=${DIB_LOCAL_IMAGE:-}

View File

@ -11,6 +11,9 @@ set -o pipefail
if [ 'amd64' = "$ARCH" ] ; then if [ 'amd64' = "$ARCH" ] ; then
ARCH="x86_64" ARCH="x86_64"
else
echo 'rhel7 root element only support the amd64 $ARCH value.'
exit 1
fi fi
DIB_LOCAL_IMAGE=${DIB_LOCAL_IMAGE:-""} DIB_LOCAL_IMAGE=${DIB_LOCAL_IMAGE:-""}