Commit Graph

4 Commits (9160def94bab4ef132d0fbe20ea13abd858bfca1)

Author SHA1 Message Date
Dustin 9160def94b fedora-disk-dch: Remove Raspberry Pi partitions
These are only needed on Raspberry Pis and should not be created on
other types of systems.  VMs, etc. should use `reqpart` instead.
2025-02-23 15:33:00 -06:00
Dustin f0cb63b38a fedora-rpi-common: Fix sshd starting before certs
Delaying the _ssh-host-cert-sign@.service_ units starting until after
the clock is synchronized ends up causing _sshd.service_ to start way
before the host certififcates are available.  This prevents the SSH
daemon from using the host certificates until it is explicitly reloaded,
so clients will not be able to verify the server's authenticity
automatically on first boot.  To ensure that clients (read: Ansible)
will be able to connect to the server when it first boots without any
manual interaction, we need to delay the _sshd.service_ unit starting
until the certificate files are present.

I think this can actually happen to any server, not just a Raspberry Pi,
but it definitely always happens on Pis.  I may eventually apply this
change to the `ssh-host-cert-sign@.service` template unit file in the
_sshca-cli-systemd_ package, if it turns out to be a more common
problem.
2025-01-30 18:22:50 -06:00
Dustin 6c8564633b fedora-disk-dch: Factor out disk layout
This will allow the `fedora-rpi-common.ks` kickstart fragment to be more
composeable, making it usable for systems other than "servers" that may
need a different disk layout.
2025-01-30 16:47:08 -06:00
Dustin 40c27ec738 fedora-rpi: Split eMMC vs NVMe config
Machines that use eMMC/SD cards for OS storage need a slightly different
disk layout than those with nVME drives.  Notably, we do not want swap
or `/tmp` on the eMMC, as that will not really improve performance at
all and will be hard on the flash memory.

For NVMe, there are two options available, with and without a swap
volume.
2024-12-28 17:23:17 -06:00