Configure Aegis pi Btrfs storage

Co-authored-by: fscotto <17803710+fscotto@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-09-03 22:51:57 +00:00
committed by GitHub
parent bc9b381525
commit 8d3f67885c
3 changed files with 20 additions and 6 deletions

View File

@@ -123,9 +123,10 @@ ansible-playbook ansible/site.yml --limit prometheus \
butane --strict --pretty --output aegis.ign ansible/bootstrap/aegis.bu butane --strict --pretty --output aegis.ign ansible/bootstrap/aegis.bu
``` ```
The `core` and `pi` users both receive the configured SSH key. The `pi` user receives the configured SSH key, and partition 5 on `/dev/mmcblk0` is formatted as
Btrfs and mounted at `/var/lib` on first boot. Formatting is destructive for that partition.
The controller then manages it remotely as `core@aegis`; unlike local desktop profiles, Aegis is The controller then manages it remotely as `pi@aegis`; unlike local desktop profiles, Aegis is
intentionally an SSH inventory target. `profile_aegis` manages rootful Podman Quadlets for AdGuard intentionally an SSH inventory target. `profile_aegis` manages rootful Podman Quadlets for AdGuard
Home and iCloudPD, persistent data under `/var/lib`, the Podman auto-update timer, and Home and iCloudPD, persistent data under `/var/lib`, the Podman auto-update timer, and
`wake-ikaros`. Define `vault_aegis_icloudpd_apple_id` in Vault before applying it. iCloudPD still `wake-ikaros`. Define `vault_aegis_icloudpd_apple_id` in Vault before applying it. iCloudPD still

View File

@@ -4,13 +4,26 @@ variant: fcos
version: 1.6.0 version: 1.6.0
passwd: passwd:
users: users:
- name: core
ssh_authorized_keys:
- "ssh-ed25519 CHANGEME_AEGIS_SSH_PUBLIC_KEY"
- name: pi - name: pi
ssh_authorized_keys: ssh_authorized_keys:
- "ssh-ed25519 CHANGEME_AEGIS_SSH_PUBLIC_KEY" - "ssh-ed25519 CHANGEME_AEGIS_SSH_PUBLIC_KEY"
storage: storage:
disks:
- device: /dev/mmcblk0
wipe_table: false
partitions:
- label: aegis-data
number: 5
size_mib: 0
filesystems:
- device: /dev/disk/by-partlabel/aegis-data
format: btrfs
label: aegis-data
wipe_filesystem: false
mount:
path: /var/lib
options:
- compress=zstd
files: files:
- path: /etc/hostname - path: /etc/hostname
mode: 0644 mode: 0644

View File

@@ -1,7 +1,7 @@
--- ---
ansible_host: aegis ansible_host: aegis
ansible_connection: ssh ansible_connection: ssh
ansible_user: core ansible_user: pi
ansible_become: true ansible_become: true
ansible_python_interpreter: /usr/bin/python3 ansible_python_interpreter: /usr/bin/python3