summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-02-20 21:19:07 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-02-20 21:19:07 +0100
commitac6ac4fb960941dce2b6c87780c6a8d03253f5e1 (patch)
tree600c43596251f9c778125781576aa34a50578406
parentch-equinox-t450s: fix minet connections (diff)
ele-router-hmtsaal: redirect media.elevate.at to lan address
-rw-r--r--inventory/host_vars/ele-router-hmtsaal.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/inventory/host_vars/ele-router-hmtsaal.yml b/inventory/host_vars/ele-router-hmtsaal.yml
index 8a128304..e10abad8 100644
--- a/inventory/host_vars/ele-router-hmtsaal.yml
+++ b/inventory/host_vars/ele-router-hmtsaal.yml
@@ -98,6 +98,8 @@ openwrt_dhcp_base:
resolvfile: '/tmp/resolv.conf.auto'
localservice: '1'
server: "{{ network_zones.cc_hmtsaal.dns }}"
+ addnhosts:
+ - '/etc/hosts.extra'
- name: odhcpd 'odhcpd'
options:
@@ -153,6 +155,10 @@ openwrt_mixin:
/etc/htoprc:
file: "{{ global_files_dir }}/common/htoprc"
+ /etc/hosts.extra:
+ content: |
+ {{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets['ele-media']) | ansible.utils.ipaddr('address') }} media.elevate.at
+
/etc/rc.d/S21nftables:
link: "../init.d/nftables"