wip
This commit is contained in:
parent
497309e2e4
commit
b8f5888c3e
2 changed files with 3 additions and 1 deletions
|
@ -31,9 +31,10 @@ def zfs(metadata):
|
||||||
if path == config.get('mountpoint'):
|
if path == config.get('mountpoint'):
|
||||||
datasets[f"tank/{other_node.metadata.get('id')}/{dataset}"] = {
|
datasets[f"tank/{other_node.metadata.get('id')}/{dataset}"] = {
|
||||||
'mountpoint': 'none',
|
'mountpoint': 'none',
|
||||||
|
'readonly': 'on',
|
||||||
'backup': False,
|
'backup': False,
|
||||||
}
|
}
|
||||||
|
continue
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'zfs': {
|
'zfs': {
|
||||||
|
|
|
@ -78,6 +78,7 @@ class ZFSDataset(Item):
|
||||||
'recordsize': None,
|
'recordsize': None,
|
||||||
'dedup': None,
|
'dedup': None,
|
||||||
'logbias': None,
|
'logbias': None,
|
||||||
|
'readonly': None,
|
||||||
}
|
}
|
||||||
ITEM_TYPE_NAME = "zfs_dataset"
|
ITEM_TYPE_NAME = "zfs_dataset"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue