From 15bdc78c65159834c9a3335c88053589535549ef Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 8 Jan 2023 23:16:09 +0100 Subject: ch-epimetheus now is a RPi CM4 --- inventory/host_vars/ch-epimetheus.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'inventory/host_vars/ch-epimetheus.yml') diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml index 431f6337..fa05843e 100644 --- a/inventory/host_vars/ch-epimetheus.yml +++ b/inventory/host_vars/ch-epimetheus.yml @@ -1,27 +1,33 @@ --- -install: - efi: true - disks: - primary: /dev/disk/by-id/ata-ADATA_SP300_1302938101000079 +raspios_variant: lite +raspios_arch: arm64 network: nameservers: "{{ network_zones.lan.dns }}" domain: "{{ host_domain }}" primary: &_network_primary_ - name: enp1s0 + 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=i2c_vc' + line: 'dtparam=i2c_vc=on' + - regexp: '^#?dtoverlay=i2c-rtc' + line: 'dtoverlay=i2c-rtc,rv3028,i2c0' + +## TODO: eeprom config... +# POWER_OFF_ON_HALT=1 +# WAKE_ON_GPIO=0 + +base_entropy_generator: rngd -wakeonlan_interfaces: - - enp7s0 ## onboard GBit/s port - enp1s0 is a 10g SFP+ card without support for WOL apt_repo_components: - main - contrib ## for zfs - - non-free ## for microcode updates spreadspace_apt_repo_components: @@ -63,8 +69,8 @@ luks_volumes: zfs_arc_size: - min: 8GB - max: 16GB + min: 1GB + max: 2GB zfs_pools: backup: -- cgit v1.2.3