Include dib-builddate.txt for configure_mirror.sh

Update our script to provide additional debug information, such as the
builddate of our DIB images.

Change-Id: Ie399b1ac9cd6c6ea4372378ae7b7bf930fac16a3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-08-23 11:24:58 -04:00
parent a44be1116e
commit d623c337ba
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
if [ -f /etc/dib-builddate.txt ]; then
echo "Image build date"
echo "================"
cat /etc/dib-builddate.txt
fi
source /etc/nodepool/provider
NODEPOOL_MIRROR_HOST=${NODEPOOL_MIRROR_HOST:-mirror.$NODEPOOL_REGION.$NODEPOOL_CLOUD.openstack.org}