Compare commits
2 commits
5c29f4220d
...
b8f5888c3e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b8f5888c3e | ||
![]() |
497309e2e4 |
3 changed files with 12 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': {
|
||||||
|
|
|
@ -77,3 +77,12 @@ $config['plugins'] = array(${', '.join(f'"{plugin}"' for plugin in plugins)});
|
||||||
// the default locale setting (leave empty for auto-detection)
|
// the default locale setting (leave empty for auto-detection)
|
||||||
// RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
|
// RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
|
||||||
$config['language'] = 'de_DE';
|
$config['language'] = 'de_DE';
|
||||||
|
|
||||||
|
|
||||||
|
// https://serverfault.com/a/991304
|
||||||
|
$config['smtp_conn_options'] = array(
|
||||||
|
'ssl' => array(
|
||||||
|
'verify_peer' => false,
|
||||||
|
'verify_peer_name' => false,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
|
@ -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