From c4e9044fafc7fd7dbb12b227c2052c71f7aab4db Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 2 Jun 2025 22:09:14 +0100 Subject: [PATCH] Set machine-id to "uninitialized" to signal first boot --- export-image/05-finalise/01-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export-image/05-finalise/01-run.sh b/export-image/05-finalise/01-run.sh index 860b97f..79a01e2 100755 --- a/export-image/05-finalise/01-run.sh +++ b/export-image/05-finalise/01-run.sh @@ -51,7 +51,7 @@ rm -f "${ROOTFS_DIR}"/usr/share/icons/*/icon-theme.cache rm -f "${ROOTFS_DIR}/var/lib/dbus/machine-id" -true > "${ROOTFS_DIR}/etc/machine-id" +echo "uninitialized" > "${ROOTFS_DIR}/etc/machine-id" ln -nsf /proc/mounts "${ROOTFS_DIR}/etc/mtab"