diff options
| author | Gunnar Wolf <gwolf@gwolf.org> | 2021-06-08 11:51:12 -0500 |
|---|---|---|
| committer | Gunnar Wolf <gwolf@gwolf.org> | 2021-06-08 11:51:34 -0500 |
| commit | 75698b0febc822049afb04858777de15dc01b93e (patch) | |
| tree | 1edc5280c024b0925bcc5c53f7ebcbe3785e6638 | |
| parent | 8af1ec6cc65268c296540106c0f68e3442fd0461 (diff) | |
Clearing machine-id requires also removing the info from /var/lib/bus/
| -rw-r--r-- | raspi_master.yaml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/raspi_master.yaml b/raspi_master.yaml index 7198b88..a4e8f8b 100644 --- a/raspi_master.yaml +++ b/raspi_master.yaml @@ -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 |
