From acc56affb2f395f774cfc5d6f2362e4eeee9a77f Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sat, 18 Mar 2023 11:42:38 -0400 Subject: [PATCH] config.sh: Drop creating an empty machine-id(5) file According to the documentation, an empty file triggers firstboot mode. Since we're not using a read-only root filesystem, we do not need to leverage any other tricks here and we can just have no file present. --- config.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/config.sh b/config.sh index a2e67d1..5e357a9 100755 --- a/config.sh +++ b/config.sh @@ -29,7 +29,6 @@ setsebool -P selinuxuser_execmod 1 #-------------------------------------- ## Clear machine-id on pre generated images rm -f /etc/machine-id -touch /etc/machine-id ## remove random seed, the newly installed instance should make its own rm -f /var/lib/systemd/random-seed