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.
This commit is contained in:
Colin Walters committed 2024-01-30 13:09:43 -05:00
1 parent e9090c44a5
commit 256852e764
1 file changed
+2 -3
+2 -3
View File
@@ -2,9 +2,8 @@
# Modern defaults we want # Modern defaults we want
boot-location: modules boot-location: modules
tmp-is-dir: true tmp-is-dir: true
# This one at least historically broke compatibility with Anaconda, but # https://github.com/CentOS/centos-bootc/issues/167
# let's use it by default now. machineid-compat: true
machineid-compat: false
# Be minimal # Be minimal
recommends: false recommends: false