From 0c02794ff3921da0ac6ee8b82716b258ca3a5340 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 22 Dec 2022 10:14:35 +0100 Subject: 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. --- hook/hostname | 2 -- 1 file changed, 2 deletions(-) (limited to 'hook/hostname') 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 -- cgit v1.2.3-70-g09d2