1
0
mirror of https://github.com/tommytran732/Fedora-CoreOS-Ignition synced 2024-11-21 08:51:38 -05:00
Ignition configurations for Fedora CoreOS
Go to file
Tommy 4ef166f60f
Fix systemd ssh override
Signed-off-by: Tommy <contact@tommytran.io>
2024-10-15 14:39:46 -07:00
etc Update after Blue-OCI rebuilds 2024-07-21 20:03:39 -07:00
.gitignore Cleaup .gitignore 2024-02-07 12:39:48 -07:00
kargs Update kargs 2024-05-27 13:23:30 -07:00
LICENSE Update LICENSE 2021-11-02 22:33:23 -04:00
README.md Update on Tuesday and Friday 2024-07-05 06:00:17 -07:00
UTM-Chrony.ign Fix systemd ssh override 2024-10-15 14:39:46 -07:00
UTM-Chrony.yml Fix systemd ssh override 2024-10-15 14:39:46 -07:00
x86-QEMU-Docker.ign Fix systemd ssh override 2024-10-15 14:39:46 -07:00
x86-QEMU-Docker.yml Fix systemd ssh override 2024-10-15 14:39:46 -07:00

Fedora-CoreOS-Ignition

Ignition configurations for Fedora CoreOS

Notes

  1. These are the configs I personally use on my systems. You MUST edit the files before you use them. At the very least, you should add your SSH keys or password hash.
  2. Only ED25519 SSH keys are accepted with the SSHD hardening configuration. If you do not use ED25519 keys, you will need to adjust the /etc/ssh/sshd_config.d/10-custom.conf file accordingly.
  3. If you create a passwordless user that requires administrative privileges, ensure that it is part of the sudo group (CoreOS allows this group to use sudo without a password) as the configs will disable empty password system authentication.
  4. These configurations are made with a VPS in mind. You should adapt it for a bare metal deployment if that is what you are using (adding additional kernel parameters, configuring drive encryption, configuring storage, etc). You should also change the tuned profile from virtual-guest appropriately.
  5. The docker-compose-updater.service in /etc/systemd/system can be enabled to have automatic updates for your containers created by Docker Compose. Please make sure that the WorkingDirectory is appropriate.

Upgrading from Fedora CoreOS 39 to 40

I am aware of a dependency issue which may cause the system to not automatically update itself to FCOS 40. To fix the problem, run:

systemctl stop zincati
rpm-ostree override reset clevis tpm2-tools tpm2-tss-fapi
rpm-ostree upgrade
rpm-ostree override remove clevis tpm2-tools tpm2-tss-fapi clevis-pin-tpm2
reboot