summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-rpi5-test.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-08 01:12:50 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-08 01:14:21 +0200
commit8cf2345b74e793100ec7126a1e98a68f5f14fdbf (patch)
tree83463c978741872e782c1e864611583db0448c7d /inventory/host_vars/ch-rpi5-test.yml
parentch-cm4-test: add example config for Cytron CM4 Maker Board (diff)
add raspi5 test host and fix raspios image network config
Diffstat (limited to 'inventory/host_vars/ch-rpi5-test.yml')
-rw-r--r--inventory/host_vars/ch-rpi5-test.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-rpi5-test.yml b/inventory/host_vars/ch-rpi5-test.yml
new file mode 100644
index 00000000..ec398636
--- /dev/null
+++ b/inventory/host_vars/ch-rpi5-test.yml
@@ -0,0 +1,23 @@
+---
+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