zfs.headers use system/architecture
This commit is contained in:
parent
28e9d69571
commit
4348e6045e
1 changed files with 1 additions and 4 deletions
|
@ -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': {
|
||||
|
|
Loading…
Reference in a new issue