bundlewrap/nodes/home/nas.py

57 lines
1.3 KiB
Python
Raw Normal View History

2020-11-12 18:40:41 +00:00
# ZFS-Pool 'storage' is not configured using bw, because we're using
# RAID-Z2 with ZIL and ARC on SSDs
nodes['home.nas'] = {
'hostname': '172.19.138.90',
'bundles': {
2020-11-12 18:59:02 +00:00
'nfs-server',
2020-11-12 18:40:41 +00:00
'zfs',
},
'groups': set(),
'metadata': {
'interfaces': {
'eno1': {
'ips': {
'172.19.138.90/24',
},
},
'br0': {
'ips': {
'172.19.138.20/24',
},
'gateway4': '172.19.138.1',
},
},
2020-11-12 18:59:02 +00:00
'nfs-server': {
'shares': {
'/storage/nas': {
'172.19.138.0/24(ro,all_squash,anonuid=65534,anongid=65534)',
},
},
},
2020-11-12 18:40:41 +00:00
'systemd-networkd': {
'bonds': {
'bond0': {
'match': {
'enp8*',
'enp9*',
},
},
},
'bridges': {
'br0': {
'match': {
'bond0',
},
},
},
},
'vm': {
'cpu': 8,
'ram': 16,
},
},
'os': 'debian',
'os_version': (11,),
}