Merge "centos7; use numeric DIB_RELEASE"
This commit is contained in:
commit
1e08be004b
@ -1,5 +1,5 @@
|
|||||||
export DISTRO_NAME=centos7
|
export DISTRO_NAME=centos7
|
||||||
export DIB_RELEASE=GenericCloud
|
export DIB_RELEASE=7
|
||||||
|
|
||||||
# Useful for elements that work with fedora (dnf) & centos
|
# Useful for elements that work with fedora (dnf) & centos
|
||||||
export YUM=${YUM:-yum}
|
export YUM=${YUM:-yum}
|
||||||
|
@ -32,8 +32,8 @@ 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
|
||||||
DIB_RELEASE=${DIB_RELEASE:-GenericCloud}
|
DIB_CENTOS7_CLOUD_RELEASE=${DIB_CENTOS7_CLOUD_RELEASE:-GenericCloud}
|
||||||
BASE_IMAGE_FILE=${BASE_IMAGE_FILE:-CentOS-7-${ARCH}-$DIB_RELEASE.qcow2.xz}
|
BASE_IMAGE_FILE=${BASE_IMAGE_FILE:-CentOS-7-${ARCH}-$DIB_CENTOS7_CLOUD_RELEASE.qcow2.xz}
|
||||||
BASE_IMAGE_TAR=$BASE_IMAGE_FILE.tgz
|
BASE_IMAGE_TAR=$BASE_IMAGE_FILE.tgz
|
||||||
IMAGE_LOCATION=$DIB_CLOUD_IMAGES/$BASE_IMAGE_FILE
|
IMAGE_LOCATION=$DIB_CLOUD_IMAGES/$BASE_IMAGE_FILE
|
||||||
CACHED_IMAGE=$DIB_IMAGE_CACHE/$BASE_IMAGE_FILE
|
CACHED_IMAGE=$DIB_IMAGE_CACHE/$BASE_IMAGE_FILE
|
||||||
|
Loading…
Reference in New Issue
Block a user