bundlewrap/nodes/home/kodi-wohnzimmer.py

56 lines
1.4 KiB
Python
Raw Normal View History

2020-09-27 15:18:34 +00:00
nodes['home.kodi-wohnzimmer'] = {
'hostname': '172.19.138.24',
'bundles': {
'kodi',
2020-10-10 14:37:33 +00:00
'nfs-client',
#'smartd',
},
2020-11-21 09:55:09 +00:00
'groups': {
'debian-buster',
},
2020-09-27 15:18:34 +00:00
'metadata': {
'interfaces': {
'eth0': {
2020-11-13 17:46:27 +00:00
'ips': {
2020-11-13 20:53:12 +00:00
'172.19.138.24/24',
2020-09-27 15:18:34 +00:00
},
2020-11-13 20:53:12 +00:00
'gateway4': '172.19.138.1',
2020-09-27 15:18:34 +00:00
},
},
'apt': {
'packages': {
'i965-va-driver-shaders': {},
'vdpau-va-driver': {},
},
},
2020-11-21 09:55:09 +00:00
'backup-client': {
'server': '172.19.138.20:22',
},
2020-10-10 14:37:33 +00:00
'nfs-client': {
'mounts': {
'nas-storage': {
'mountpoint': '/mnt/nas',
'serverpath': '172.19.138.20:/storage/nas',
'mount_options': {
'retry=0',
'ro',
},
},
},
},
# SSD has a high reported_uncorrect value, which means it's gonna
# break soon. We know that, but we don't care, since we got plenty
# of spares, and this isn't a mission-critical system.
# We'll fix it once it breaks.
#'smartd': {
# 'disks': {
# '/dev/sda',
# },
#},
2020-09-27 15:18:34 +00:00
'vm': {
'cpu': 2,
'ram': 4,
2020-09-27 15:18:34 +00:00
},
},
}