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'
|
'apt/packages'
|
||||||
)
|
)
|
||||||
def headers(metadata):
|
def headers(metadata):
|
||||||
if node.in_group('raspberry-pi'):
|
arch = metadata.get('system/architecture')
|
||||||
arch = 'arm64'
|
|
||||||
else:
|
|
||||||
arch = 'amd64'
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'apt': {
|
'apt': {
|
||||||
|
|
Loading…
Reference in a new issue