The setup no longer asks for an ssh key. Root logs in on the console and adds keys for claude and root to /var/lib/agent. Root may log in with ssh, and its home is a tmpfs that is wiped at every boot. The test VM uses mkosi ssh instead of a forwarded port, so the agent.ssh-key credential is gone. Also mount /var with noatime, move STYLE.md into AGENTS.md and rewrite comments to start with the name of what they describe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
519 B
Plaintext
20 lines
519 B
Plaintext
# Root filesystem, slot A
|
|
#
|
|
# /etc and /usr as read-only erofs, protected by dm-verity (roothash= in the
|
|
# UKI). Updates replace it whole. /var holds the state, on its own partition
|
|
# (30-var.conf).
|
|
[Partition]
|
|
Type=root
|
|
Label=%M_%A
|
|
Format=erofs
|
|
Compression=lz4hc
|
|
CopyFiles=/
|
|
ExcludeFilesTarget=/var/
|
|
Verity=data
|
|
VerityMatchKey=root
|
|
SizeMinBytes=1G
|
|
SizeMaxBytes=1G
|
|
# SplitName holds the partition UUID (%U): roothash= finds the root by it, and
|
|
# updates keep it (@u in mkosi.extra/usr/lib/sysupdate.d).
|
|
SplitName=%t.%U
|