diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-09-04 18:25:12 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-09-04 18:25:20 +0200 |
commit | 822b5e0e2eff46fbd007024ad1323abe27c2ff70 (patch) | |
tree | 3dfb358e3bbfe59815c881989f3e06be20108a9a /inventory | |
parent | ubuntu/installer: improved handling of latest image (diff) |
raspios: major refactoring for image fetching, TODO: customization
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/group_vars/chaos-at-home/network.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ch-cm4-test.yml | 20 | ||||
-rw-r--r-- | inventory/host_vars/ch-equinox-t450s.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ch-equinox-ws.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ch-mc-pi.yml | 2 | ||||
-rw-r--r-- | inventory/hosts.ini | 1 |
6 files changed, 24 insertions, 2 deletions
diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml index fa4109d5..779915d2 100644 --- a/inventory/group_vars/chaos-at-home/network.yml +++ b/inventory/group_vars/chaos-at-home/network.yml @@ -24,6 +24,7 @@ network_zones: ch-hpws-mini1: 31 ch-alix1d: 32 ch-raspi-ntp: 33 + ch-cm4-test: 34 ele-media: 99 ch-prometheus: 200 ch-epimetheus: 201 diff --git a/inventory/host_vars/ch-cm4-test.yml b/inventory/host_vars/ch-cm4-test.yml new file mode 100644 index 00000000..11218262 --- /dev/null +++ b/inventory/host_vars/ch-cm4-test.yml @@ -0,0 +1,20 @@ +--- +raspios_variant: lite +raspios_arch: arm64 + +network: + nameservers: "{{ network_zones.lan.dns }}" + domain: "{{ host_domain }}" + primary: &_network_primary_ + name: eth0 + address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}" + gateway: "{{ network_zones.lan.gateway }}" + interfaces: + - *_network_primary_ + +### +# [all] +# dtparam=i2c_vc=on +# dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi +# dtoverlay=i2c-fan,emc2301,i2c_csi_dsi + diff --git a/inventory/host_vars/ch-equinox-t450s.yml b/inventory/host_vars/ch-equinox-t450s.yml index 9e184373..07e593d3 100644 --- a/inventory/host_vars/ch-equinox-t450s.yml +++ b/inventory/host_vars/ch-equinox-t450s.yml @@ -199,6 +199,7 @@ ws_base_extra_packages: - python3-sphinx - python3-sphinx-rtd-theme - python3-toml + - python3-xopen - qemu-kvm - qemu-utils - quilt diff --git a/inventory/host_vars/ch-equinox-ws.yml b/inventory/host_vars/ch-equinox-ws.yml index 0acb29d3..8d1b1dc7 100644 --- a/inventory/host_vars/ch-equinox-ws.yml +++ b/inventory/host_vars/ch-equinox-ws.yml @@ -200,6 +200,7 @@ ws_base_extra_packages: - python3-sphinx - python3-sphinx-rtd-theme - python3-toml + - python3-xopen - qemu-kvm - qemu-utils - quilt diff --git a/inventory/host_vars/ch-mc-pi.yml b/inventory/host_vars/ch-mc-pi.yml index a8701c54..064ad560 100644 --- a/inventory/host_vars/ch-mc-pi.yml +++ b/inventory/host_vars/ch-mc-pi.yml @@ -1,6 +1,4 @@ --- -## TODO: remove once autodetection works... -raspios_release_date: "2022-01-28" #raspios_variant: desktop raspios_arch: arm64 diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 3ebe5680..1ac1d45a 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -56,6 +56,7 @@ ch-hpws-maxi ch-hpws-mini1 ch-alix1d ch-raspi-ntp +ch-cm4-test [chaos-at-home:children] mz-chaos-at-home |