From f35959099fb8c104aa3166975c8bddce54e2efd4 Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Fri, 25 Sep 2026 23:36:22 -0800 Subject: [PATCH] overlay fs --- README.md | 15 +++++++++++++++ overlay/etc/gitconfig | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 overlay/etc/gitconfig diff --git a/README.md b/README.md index e2e848c..b1a081a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,21 @@ sudo systemctl daemon-reload sudo systemctl enable --now rpm-ostree-cleanup.timer ``` +## overlay/ + +Files here mirror their path on the root filesystem, meant to be baked into +the image (e.g. `COPY overlay/ /` in a future Containerfile). Until then, +apply manually: + +```sh +sudo cp overlay/etc/gitconfig /etc/gitconfig +``` + +### overlay/etc/gitconfig + +System-wide git config so every user on the box gets `main` as the default +init branch, not `master`. + ## systemd/journald.conf.d/size-cap.conf Continuous 500M journal retention cap instead of a periodic vacuum job. diff --git a/overlay/etc/gitconfig b/overlay/etc/gitconfig new file mode 100644 index 0000000..ad8417a --- /dev/null +++ b/overlay/etc/gitconfig @@ -0,0 +1,2 @@ +[init] + defaultBranch = main