summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-09-05 00:04:25 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-09-05 00:04:25 +0200
commit18c8a90e267dd06c587229066544d39e91656a0b (patch)
treeed8a022d0b437779927e7e0451fff63382c0648a /inventory
parentraspios: major refactoring for image fetching, TODO: customization (diff)
raspios: image customization works now
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-cm4-test.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/inventory/host_vars/ch-cm4-test.yml b/inventory/host_vars/ch-cm4-test.yml
index 11218262..e6bc9081 100644
--- a/inventory/host_vars/ch-cm4-test.yml
+++ b/inventory/host_vars/ch-cm4-test.yml
@@ -12,9 +12,10 @@ network:
interfaces:
- *_network_primary_
-###
-# [all]
-# dtparam=i2c_vc=on
-# dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi
-# dtoverlay=i2c-fan,emc2301,i2c_csi_dsi
-
+raspios_boot_config:
+ - regexp: '^#?dtparam=i2c_vc'
+ line: 'dtparam=i2c_vc=on'
+ - regexp: '^#?dtoverlay=i2c-rtc'
+ line: 'dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi'
+ - regexp: '^#?dtoverlay=i2c-fan'
+ line: 'dtoverlay=i2c-fan,emc2301,i2c_csi_dsi'