From de4963d40f1916f8cc6bb7daa699cfbbceba4b29 Mon Sep 17 00:00:00 2001 From: jonas Date: Thu, 21 Oct 2021 09:23:23 +0200 Subject: [PATCH] . --- salt/pillars/tlu-harvester.sls | 8 ++++---- salt/states/tlu-harvester/images.sls | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/salt/pillars/tlu-harvester.sls b/salt/pillars/tlu-harvester.sls index 1409e1f..25be675 100644 --- a/salt/pillars/tlu-harvester.sls +++ b/salt/pillars/tlu-harvester.sls @@ -21,9 +21,9 @@ tlu-harvester: url: https://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-kvm-and-xen.qcow2 ubuntu: - name: ubuntu 20.04 (Focal Fossa) - url: https://cloud-images.ubuntu.com/focal/20211015/focal-server-cloudimg-amd64-disk-kvm.img - checksum: 8ba7a402852a8379ecc305fd518d26cdf012e7809134c3d2d4029a67990c8e33 + url: https://cloud-images.ubuntu.com/focal/20211015/focal-server-cloudimg-amd64.img + checksum: c7adca2038a5fdda38328ecd461462bf4ab2cbaec2cc1bfd9340d9ee6bc543a8 ns: default - name: ubuntu 21.04 (Hirsute Hippo) - url: https://cloud-images.ubuntu.com/hirsute/20211017/hirsute-server-cloudimg-amd64-disk-kvm.img - checksum: 0c4113189d14f4d4d1a8933318b40f69500bbe9ebf58864703a3e333f5355065 + url: https://cloud-images.ubuntu.com/hirsute/20211017/hirsute-server-cloudimg-amd64.img + checksum: 2d8c7f872aab587f70268a34f031c6380197f6940b29eb5f241050bb98ba420e diff --git a/salt/states/tlu-harvester/images.sls b/salt/states/tlu-harvester/images.sls index 9e68f96..17a0f0b 100644 --- a/salt/states/tlu-harvester/images.sls +++ b/salt/states/tlu-harvester/images.sls @@ -7,6 +7,8 @@ Downloading image {{ filename }}: - source: {{ item['url'] }} {% if 'checksum' in item -%} - source_hash: {{ item['checksum'] }} + {% else %} + - skip_verify: True {% endif %} - user: root - group: root