hooks: test zfs metadata consistency
This commit is contained in:
parent
0b4f0e142f
commit
390f18a3a4
3 changed files with 55 additions and 1 deletions
|
@ -81,6 +81,8 @@ for name, attrs in node.metadata.get('zfs/datasets', {}).items():
|
|||
|
||||
if 'mountpoint' not in attrs:
|
||||
zfs_datasets[name]['canmount'] = 'off'
|
||||
# https://github.com/bundlewrap/bundlewrap/commit/76647590d684446f146cedb89518458f18dd229e
|
||||
# zfs_datasets[name]['mountpoint'] = 'none'
|
||||
else:
|
||||
zfs_datasets[name]['canmount'] = 'on'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue