From 256852e76446e0f8110814a895e9d17f5a5273e3 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 30 Jan 2024 13:09:43 -0500 Subject: [PATCH] Start with an empty `/etc/machine-id` to disable `ConditionFirstBoot` The systemd firstboot process does several things, but notably it runs a preset process. This means that basically a plain `RUN systemctl enable foo` won't work unless you *also* write a preset file for it, and no one will know to do that. --- tier-0/manifest.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tier-0/manifest.yaml b/tier-0/manifest.yaml index 053bbaf..aac2d15 100644 --- a/tier-0/manifest.yaml +++ b/tier-0/manifest.yaml @@ -2,9 +2,8 @@ # Modern defaults we want boot-location: modules tmp-is-dir: true -# This one at least historically broke compatibility with Anaconda, but -# let's use it by default now. -machineid-compat: false +# https://github.com/CentOS/centos-bootc/issues/167 +machineid-compat: true # Be minimal recommends: false