We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 775a3be commit 97b68beCopy full SHA for 97b68be
scripts/base.sh
@@ -102,6 +102,7 @@ finalize() {
102
echo "** Generating disk image $1-$DATE"
103
echo '*****'
104
rm -f "$WORK/usr/sbin/policy-rc.d"
105
+ rm -f "$WORK/etc/machine-id" "$WORK/var/lib/dbus/machine-id" || true
106
echo localhost >"$WORK/etc/hostname"
107
108
# generate /etc/shells-release file
scripts/firstrun.sh
@@ -14,8 +14,7 @@ PATH="/usr/sbin:/sbin:/usr/bin:/bin"
14
15
SYSTEM_UUID="$(cat /sys/class/dmi/id/product_uuid)"
16
17
-# force regen of machine-id
18
-rm -f /etc/machine-id /var/lib/dbus/machine-id || true
+# ensure machine-id exists
19
/usr/bin/dbus-uuidgen --ensure
20
21
# ensure ssh host keys if ssh is installed
0 commit comments