Compare commits

..

2 commits

Author SHA1 Message Date
e65aa8fdab
openhab no longer exists 2025-08-09 23:08:15 +02:00
70b17657a1
update router 2025-08-09 23:08:06 +02:00
4 changed files with 7 additions and 59 deletions

View file

@ -52,13 +52,14 @@ def subnets(metadata):
if 'mac' in network_conf
)
for network_name, network_conf in metadata.get('network').items():
for id, (network_name, network_conf) in enumerate(sorted(metadata.get('network').items())):
dhcp_server_config = network_conf.get('dhcp_server_config', None)
if dhcp_server_config:
_network = ip_network(dhcp_server_config['subnet'])
subnet4.add(hashable({
'id': id + 1,
'subnet': dhcp_server_config['subnet'],
'pools': [
{

View file

@ -1,52 +0,0 @@
{
'dummy': True,
'hostname': '10.0.0.17',
'groups': [
'autologin',
'backup',
'debian-12',
'home',
'monitored',
'raspberry-pi',
'webserver',
],
'bundles': [
'build-agent',
'java',
'openhab',
'systemd-swap',
'zfs',
],
'metadata': {
'id': '34199b24-4621-42f4-85ae-ec354f9c43e6',
'network': {
'internal': {
'interface': 'eth0',
'ipv4': '10.0.0.17/24',
'gateway4': '10.0.0.1',
},
},
'nginx': {
'vhosts': {
'openhab.ckn.li': {
'content': 'nginx/proxy_pass.conf',
'context': {
'target': 'http://localhost:8080',
},
},
},
},
'java': {
'version': 17,
},
'zfs': {
'pools': {
'tank': {
'devices': [
'/dev/mmcblk1p3',
],
},
},
},
},
}

View file

@ -2,7 +2,7 @@
'hostname': '10.0.0.1',
'groups': [
'autologin',
'debian-12',
'debian-13',
'hardware',
'home',
'monitored',
@ -81,7 +81,6 @@
's2s': {
'htz.mails': {
'allowed_ips': [
'10.0.10.0/24',
'10.0.10.0/24',
#'192.168.179.0/24', # while raspi at home
'10.0.227.0/24', # mseibert.freescout

View file

@ -55,10 +55,10 @@
'node': 'home.server',
'target': 'x86_64-unknown-linux-gnu',
},
'arm64': {
'node': 'home.openhab',
'target': 'aarch64-unknown-linux-gnu',
},
# 'arm64': {
# 'node': 'home.openhab',
# 'target': 'aarch64-unknown-linux-gnu',
# },
},
'download_server': 'htz.mails',
},