zfs.headers use system/architecture

This commit is contained in:
cronekorkn 2024-06-11 18:03:32 +02:00
parent 28e9d69571
commit 4348e6045e
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -122,10 +122,7 @@ def backup(metadata):
'apt/packages'
)
def headers(metadata):
if node.in_group('raspberry-pi'):
arch = 'arm64'
else:
arch = 'amd64'
arch = metadata.get('system/architecture')
return {
'apt': {