diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-01-26 22:06:36 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-01-26 22:06:36 +0100 |
commit | 33e73427f30966228bfb24c160275f83fbf21109 (patch) | |
tree | b1f7090b10bff7506f951473559f75ebc0327c2c | |
parent | ch-tarvos base install (diff) |
add rpi4 test host
-rw-r--r-- | inventory/group_vars/chaos-at-home/network.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ch-rpi4-test.yml | 29 | ||||
-rw-r--r-- | inventory/hosts.ini | 2 |
3 files changed, 32 insertions, 0 deletions
diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml index b13dc28a..9fea14eb 100644 --- a/inventory/group_vars/chaos-at-home/network.yml +++ b/inventory/group_vars/chaos-at-home/network.yml @@ -28,6 +28,7 @@ network_zones: ch-alix1d: 32 ch-raspi-ntp: 33 ch-cm4-test: 34 + ch-rpi4-test: 35 ele-media: 99 ch-prometheus: 200 ch-epimetheus: 201 diff --git a/inventory/host_vars/ch-rpi4-test.yml b/inventory/host_vars/ch-rpi4-test.yml new file mode 100644 index 00000000..1c0163d8 --- /dev/null +++ b/inventory/host_vars/ch-rpi4-test.yml @@ -0,0 +1,29 @@ +--- +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 | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}" + gateway: "{{ network_zones.lan.gateway }}" + interfaces: + - *_network_primary_ + +raspios_boot_config: + - regexp: '^#?dtparam=audio=' + line: 'dtparam=audio=on' + - regexp: '^#?dtoverlay=disable-bt' + line: 'dtoverlay=disable-bt' + - regexp: '^#?dtoverlay=disable-wifi' + line: 'dtoverlay=disable-wifi' + +base_entropy_generator: rngd + + +browser_kiosk_xinit_commands_extra: | + xrandr --output HDMI-1 --mode 1920x1080 --rate 50 + +browser_kiosk_url: "https://updatefaker.com/w98/index.html" diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 95ee017d..60321d60 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -61,6 +61,7 @@ ch-hpws-mini1 ch-alix1d ch-raspi-ntp ch-cm4-test +ch-rpi4-test [chaos-at-home:children] mz-chaos-at-home @@ -310,6 +311,7 @@ ch-router-obsd [raspios] ch-cm4-test +ch-rpi4-test ch-mclr ch-epimetheus |