diskimage-builder/elements/centos7/environment.d/10-centos7-distro-name.bash
Abel Lopez 570ecf16a5 Set and export DIB_RELEASE for centos7
The default value was set in the centos7 element, but not
exported, which caused issues in rpm-distro. Also changed
a test in rpm-distro to only check for DIB_RELEASE > 22
if it's fedora.

Closes-Bug: #1477172

Change-Id: Ib6f4227411c2e8f1965c3b78bc318512c59a7876
2015-08-04 08:35:20 -07:00

3 lines
59 B
Bash

export DIB_RELEASE=GenericCloud
export DISTRO_NAME=centos7