summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-alix1d.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-01 17:44:30 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-01 17:44:30 +0100
commit29a177b4093f8b4620c14d162336889111eef2db (patch)
tree5048b9f3dd01a59f1fad19bdc3174e573f4f0fe8 /inventory/host_vars/ch-alix1d.yml
parentvm/guest/define: harmonize disk config (diff)
generate openwrt images using image-generate.sh
Diffstat (limited to 'inventory/host_vars/ch-alix1d.yml')
-rw-r--r--inventory/host_vars/ch-alix1d.yml14
1 files changed, 5 insertions, 9 deletions
diff --git a/inventory/host_vars/ch-alix1d.yml b/inventory/host_vars/ch-alix1d.yml
index 133953b6..d7b416d3 100644
--- a/inventory/host_vars/ch-alix1d.yml
+++ b/inventory/host_vars/ch-alix1d.yml
@@ -1,13 +1,9 @@
---
-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
@@ -124,14 +120,14 @@ openwrt_uci:
- name: interface 'loopback'
options:
- ifname: lo
+ device: lo
proto: static
ipaddr: 127.0.0.1
netmask: 255.0.0.0
- name: interface 'lan'
options:
- ifname: eth0
+ device: eth0
proto: static
ipaddr: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}"
netmask: "{{ network_zones.lan.prefix | ipaddr('netmask') }}"
@@ -140,5 +136,5 @@ openwrt_uci:
- name: interface 'unused'
options:
- ifname: eth1
+ device: eth1
proto: none