diff options
author | Christian Hesse <mail@eworm.de> | 2022-12-22 10:14:35 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-12-22 10:50:32 +0100 |
commit | 0c02794ff3921da0ac6ee8b82716b258ca3a5340 (patch) | |
tree | eca16df8c139fcc0a139b0a583deecdfa2355599 /hook | |
parent | 2dc23e1042d90f966967dc1c2ea855a105c09e67 (diff) | |
download | mkinitcpio-hostname-0c02794ff3921da0ac6ee8b82716b258ca3a5340.tar.gz mkinitcpio-hostname-0c02794ff3921da0ac6ee8b82716b258ca3a5340.tar.zst |
do not set machine-id
This is no longer required as archiso resets the file.
Currently systemd's first-boot mechanism is still unavailable as archiso
creates an empty file, instead of writing special value "uninitialized".
See "First Boot Semantics" in machine-id(5) for details.
Diffstat (limited to 'hook')
-rw-r--r-- | hook/hostname | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hook/hostname b/hook/hostname index 4606362..585229a 100644 --- a/hook/hostname +++ b/hook/hostname @@ -3,8 +3,6 @@ run_latehook() { local newroot="/new_root/" - /usr/bin/systemd-machine-id-setup --root="${newroot}" - if [[ ! -s "${newroot}/etc/hostprefix" ]]; then cp "${newroot}/etc/hostname" "${newroot}/etc/hostprefix" fi |