Have diskimage-builder generate checksum files

An upcoming release of diskimage-builder will allow us to generate md5
/ sha256 checksum files, which shade would use when uploading images
to our provider.

This reduces the need for nodepool to generate this information each
time we upload images.

Change-Id: I2baf4976f37c6fdf0ccaa323942c021375438213
Depends-On: I5815ba69b7d477f1e91dc8ec0c69c86168770964
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-10-05 19:48:46 -04:00
parent 7838507201
commit af11a6b5e1
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -1091,6 +1091,7 @@ diskimages:
release: jessie
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
DIB_APT_LOCAL_CACHE: '0'
DIB_DISABLE_APT_CLEANUP: '1'
@ -1109,6 +1110,7 @@ diskimages:
release: precise
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
DIB_APT_LOCAL_CACHE: '0'
DIB_DISABLE_APT_CLEANUP: '1'
@ -1128,6 +1130,7 @@ diskimages:
release: trusty
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
DIB_APT_LOCAL_CACHE: '0'
DIB_DISABLE_APT_CLEANUP: '1'
@ -1147,6 +1150,7 @@ diskimages:
release: xenial
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
DIB_APT_LOCAL_CACHE: '0'
DIB_DISABLE_APT_CLEANUP: '1'
@ -1165,6 +1169,7 @@ diskimages:
- stackviz
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
QEMU_IMG_OPTIONS: compat=0.10
- name: fedora-23
@ -1183,6 +1188,7 @@ diskimages:
release: 23
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
QEMU_IMG_OPTIONS: compat=0.10
- name: fedora-24
@ -1202,5 +1208,6 @@ diskimages:
release: 24
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
QEMU_IMG_OPTIONS: compat=0.10