mirror of
https://salsa.debian.org/raspi-team/image-specs
synced 2026-05-30 06:38:09 +02:00
Clearing machine-id requires also removing the info from /var/lib/bus/
This commit is contained in:
@@ -151,8 +151,9 @@ steps:
|
||||
rm "${ROOT?}/etc/resolv.conf"
|
||||
root-fs: /
|
||||
|
||||
# Clear /etc/machine-id, it should be auto-generated upon first
|
||||
# boot. From the manpage (machine-id(5)):
|
||||
# Clear /etc/machine-id and /var/lib/bus/machine-id, as both should
|
||||
# be auto-generated upon first boot. From the manpage
|
||||
# (machine-id(5)):
|
||||
#
|
||||
# For normal operating system installations, where a custom image is
|
||||
# created for a specific machine, /etc/machine-id should be
|
||||
@@ -161,4 +162,4 @@ steps:
|
||||
# Note this will also trigger ConditionFirstBoot=yes for systemd.
|
||||
- chroot: /
|
||||
shell: |
|
||||
rm -f /etc/machine-id
|
||||
rm -f /etc/machine-id /var/lib/bus/machine-id
|
||||
|
||||
Reference in New Issue
Block a user