Compare commits

...

3 Commits

Author SHA1 Message Date
Tommy
e93575a87f
Add docker-auto-update
Signed-off-by: Tommy <contact@tommytran.io>
2025-06-12 02:55:44 -07:00
Tommy
bffb50dd7a
Make Notes smaller
Signed-off-by: Tommy <contact@tommytran.io>
2025-06-12 02:38:28 -07:00
Tommy
48b5df3957
Switch back to Docker
Signed-off-by: Tommy <contact@tommytran.io>
2025-06-12 02:37:49 -07:00
3 changed files with 17 additions and 5 deletions

View File

@ -1,8 +1,8 @@
# Fedora-CoreOS-Ignition
Ignition configurations for Fedora CoreOS<br />
# Notes
## Notes
These configurations are tailored for Metropolis.nexus environment:
- Firewalling is handled by Proxmox (not the individual VMs)
- DNSSEC validation is done by either OPNsense or a central VM dedicated to running the DNS resolver
- Podman will be used for deployment, not Docker
- The `docker-auto-update@.timer` in `/etc/systemd/system` can be enabled to have automatic updates for your containers created by Docker Compose.

File diff suppressed because one or more lines are too long

16
x86.yml
View File

@ -46,8 +46,11 @@ systemd:
ExecStart=/usr/sbin/setsebool -P virt_use_nfs off
ExecStart=/usr/sbin/setsebool -P virt_use_samba off
ExecStart=/usr/bin/systemctl start gvisor-auto-update.service
ExecStart=/usr/bin/rpm-ostree install hardened_malloc qemu-guest-agent tuned
ExecStart=/usr/bin/rpm-ostree override remove containerd docker-cli moby-engine runc systemd-resolved
ExecStart=/usr/bin/rpm-ostree install docker-ce docker-compose-plugin hardened_malloc qemu-guest-agent tuned
ExecStart=/usr/bin/sed -i 's/\s+nullok//g' /etc/pam.d/system-auth
ExecStart=/usr/bin/systemctl disable --now systemd-resolved
ExecStart=/usr/bin/rm /etc/resolv.conf
ExecStart=/usr/bin/touch /var/lib/%N.stamp
ExecStart=/usr/bin/systemctl --no-block reboot
@ -144,6 +147,13 @@ storage:
contents:
source: https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/systemd/coredump.conf.d/disable.conf
- path: /etc/systemd/system/docker-auto-update@.service
contents:
source: https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/refs/heads/main/etc/systemd/system/docker-auto-update%40.service
- path: /etc/systemd/system/docker-auto-update@.timer
contents:
source: https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/refs/heads/main/etc/systemd/system/docker-auto-update%40.timer
- path: /etc/systemd/system/gvisor-auto-update.service
contents:
source: https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/systemd/system/gvisor-auto-update.service
@ -174,7 +184,9 @@ storage:
- path: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:secureblue:hardened_malloc.repo
contents:
source: https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:secureblue:hardened_malloc.repo
overwrite: true
- path: /etc/yum.repos.d/docker-ce.repo
contents:
source: https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/refs/heads/main/etc/yum.repos.d/docker-ce.repo
- path: /etc/zincati/config.d/51-rollout-wariness.toml
contents: