Skip to content

Commit 61da62a

Browse files
committed
fix: stuff
Signed-off-by: Chris Butler <chris.butler@redhat.com>
1 parent 1e48e90 commit 61da62a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansible/init-data-gzipper.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
# It does NOT register an environment variable, but rather the value actually printed by 'echo'.
6767
- name: Register init data pcr into a var
6868
ansible.builtin.shell: |
69-
hash=$(sha256sum {{ rendered_path }} | cut -d' ' -f1)
69+
hash=$(sha256sum "{{ rendered_path }}" | cut -d' ' -f1)
7070
initial_pcr=000000000000000000000000000000000000000000000000000000000000000
7171
PCR8_HASH=$(echo -n "$initial_pcr$hash" | xxd -r -p | sha256sum | cut -d' ' -f1) && echo $PCR8_HASH
7272
register: pcr8_hash

0 commit comments

Comments
 (0)