summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-tub.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-01 18:03:33 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-01 18:03:33 +0100
commit44d19e291610373de73b7140fb853b494be6cf18 (patch)
treec0bd5814bccfeea2bd3f6c3bc1087fceac963c68 /inventory/host_vars/ele-tub.yml
parentconvert some more openwrt hosts to new image generation mechanism (diff)
convert all remaining openwrt hosts to new image generation
Diffstat (limited to 'inventory/host_vars/ele-tub.yml')
-rw-r--r--inventory/host_vars/ele-tub.yml20
1 files changed, 8 insertions, 12 deletions
diff --git a/inventory/host_vars/ele-tub.yml b/inventory/host_vars/ele-tub.yml
index ee2bed4d..aef83dc5 100644
--- a/inventory/host_vars/ele-tub.yml
+++ b/inventory/host_vars/ele-tub.yml
@@ -4,15 +4,11 @@ ssh_users_root:
- datacop
-install_playbook: openwrt
-
-openwrt_variant: openwrt
-openwrt_release: 19.07.7
openwrt_arch: x86
openwrt_target: geode
-openwrt_profile: Generic
+openwrt_profile: generic
openwrt_output_image_suffixes:
- - "combined-ext4.img.gz"
+ - "{{ openwrt_profile }}-ext4-combined.img.gz"
openwrt_packages_remove:
- ppp
@@ -69,8 +65,8 @@ openwrt_mixin:
STOP=91
start() {
- FF_IF=$(uci get network.ff.ifname)
- FFSUBNET_IF=$(uci get network.ffsubnet.ifname)
+ FF_IF=$(uci get network.ff.device)
+ FFSUBNET_IF=$(uci get network.ffsubnet.device)
FFSUBNET_IPADDR=$(uci get network.ffsubnet.ipaddr)
FFSUBNET_NETMASK=$(uci get network.ffsubnet.netmask)
@@ -119,28 +115,28 @@ openwrt_uci:
- name: interface 'loopback'
options:
- ifname: lo
+ device: lo
proto: static
ipaddr: 127.0.0.1
netmask: 255.0.0.0
- name: interface 'mgmt'
options:
- ifname: eth2
+ device: eth2
proto: static
ipaddr: "{{ network_zones.mgmt.prefix | ipaddr(network_zones.mgmt.offsets[inventory_hostname]) | ipaddr('address') }}"
netmask: "{{ network_zones.mgmt.prefix | ipaddr('netmask') }}"
- name: interface 'ffsubnet'
options:
- ifname: eth1
+ device: eth1
proto: static
ipaddr: "{{ network_zones.funkfeuer.prefix | ipaddr(network_zones.funkfeuer.offsets[inventory_hostname]) | ipaddr('address') }}"
netmask: "{{ network_zones.funkfeuer.prefix | ipaddr('netmask') }}"
- name: interface 'ff'
options:
- ifname: eth0
+ device: eth0
proto: static
ipaddr: 10.12.91.28
netmask: 255.255.0.0