Commit 42d4e6e2 authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

Readd "remove machine-id" logic

Even though the system isn't booted, a machine-id is generated when
systemd is installed (by the .install script).

Fixes: 0b60f5a4 ("Remove "remove machine-id" logic")

Fix #117
parent 7da735e2
......@@ -79,6 +79,11 @@ EOF
# Misc "tweaks" done after bootstrapping
function postinstall() {
# Remove machine-id see:
rm "${MOUNT}/etc/machine-id"
arch-chroot "${MOUNT}" /usr/bin/btrfs subvolume create /swap
chattr +C "${MOUNT}/swap"
chmod 0700 "${MOUNT}/swap"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment