mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition.git
synced 2024-10-01 01:15:36 -04:00
00dfed479b
Signed-off-by: Tommy <contact@tommytran.io>
1.6 KiB
1.6 KiB
Fedora-CoreOS-Ignition
Ignition configurations for Fedora CoreOS
Notes
- 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.
- Only ED25519 SSH keys are accepted with the SSHD hardening configuration. If you do not use ED25519 keys, you will need to edit the
ExecStart=/usr/bin/curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/sshd_config/10-custom.conf -o /etc/ssh/sshd_config.d/10-custom.conf
accordingly. - 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. - 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. - In most of these configs, the timezone is set to
America/New_York
and the automatic reboot time is set at 12 AM on Sunday. Watchtower will kick in 5-10 minutes after the reboot to update and redeploy the containers. You should change it according to your needs. The Docker-Compose.yml file does not include Watchtower. - The auto-updater.service could be put in
/etc/systemd/system
and enable to have automatic updates for your docker-compose and its containers. Please make sure that theWorkingDir
is appropriate.