Clearing machine-id requires also removing the info from /var/lib/bus/
This commit is contained in:
parent
8af1ec6cc6
commit
75698b0feb
|
@ -151,8 +151,9 @@ steps:
|
||||||
rm "${ROOT?}/etc/resolv.conf"
|
rm "${ROOT?}/etc/resolv.conf"
|
||||||
root-fs: /
|
root-fs: /
|
||||||
|
|
||||||
# Clear /etc/machine-id, it should be auto-generated upon first
|
# Clear /etc/machine-id and /var/lib/bus/machine-id, as both should
|
||||||
# boot. From the manpage (machine-id(5)):
|
# be auto-generated upon first boot. From the manpage
|
||||||
|
# (machine-id(5)):
|
||||||
#
|
#
|
||||||
# For normal operating system installations, where a custom image is
|
# For normal operating system installations, where a custom image is
|
||||||
# created for a specific machine, /etc/machine-id should be
|
# created for a specific machine, /etc/machine-id should be
|
||||||
|
@ -161,4 +162,4 @@ steps:
|
||||||
# Note this will also trigger ConditionFirstBoot=yes for systemd.
|
# Note this will also trigger ConditionFirstBoot=yes for systemd.
|
||||||
- chroot: /
|
- chroot: /
|
||||||
shell: |
|
shell: |
|
||||||
rm -f /etc/machine-id
|
rm -f /etc/machine-id /var/lib/bus/machine-id
|
||||||
|
|
Loading…
Reference in New Issue