From af11a6b5e14081e4b4722494b4d9909c153acc2e Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 5 Oct 2016 19:48:46 -0400 Subject: [PATCH] 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 --- nodepool/nodepool.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nodepool/nodepool.yaml b/nodepool/nodepool.yaml index dfeaeda17a..b421078bcc 100644 --- a/nodepool/nodepool.yaml +++ b/nodepool/nodepool.yaml @@ -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