bundles/backup-server: auto-import pool after decrypting
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
67b8697808
commit
2c4eb03214
1 changed files with 6 additions and 0 deletions
|
@ -74,6 +74,12 @@ def zfs_pool(metadata):
|
|||
],
|
||||
},
|
||||
'needs': unlock_actions,
|
||||
# That's a bit hacky. We do it this way to auto-import
|
||||
# the pool after decrypting the devices. Otherwise
|
||||
# the pool wouldn't exist, which leads to bundlewrap
|
||||
# trying to re-create the pool.
|
||||
# Also, -N to not auto-mount anything.
|
||||
'unless': 'zpool import -N backups',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue