kunsi-p14s: do backups

This commit is contained in:
Franzi 2022-02-12 18:56:54 +01:00
parent 5be2610a86
commit 9a8e7abef4
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 16 additions and 1 deletions

View file

@ -79,7 +79,7 @@ for name, attrs in node.metadata.get('zfs/datasets', {}).items():
if 'mountpoint' not in attrs:
zfs_datasets[name]['canmount'] = 'off'
zfs_datasets[name]['mountpoint'] = 'none'
else:
elif 'canmount' not in attrs:
zfs_datasets[name]['canmount'] = 'on'
for name, attrs in node.metadata.get('zfs/pools', {}).items():