We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a04d3d commit 1e48e90Copy full SHA for 1e48e90
1 file changed
ansible/init-data-gzipper.yaml
@@ -66,7 +66,7 @@
66
# It does NOT register an environment variable, but rather the value actually printed by 'echo'.
67
- name: Register init data pcr into a var
68
ansible.builtin.shell: |
69
- hash=$(sha256sum initdata.toml | cut -d' ' -f1)
+ hash=$(sha256sum {{ rendered_path }} | cut -d' ' -f1)
70
initial_pcr=000000000000000000000000000000000000000000000000000000000000000
71
PCR8_HASH=$(echo -n "$initial_pcr$hash" | xxd -r -p | sha256sum | cut -d' ' -f1) && echo $PCR8_HASH
72
register: pcr8_hash
0 commit comments