Skip to content
Snippets Groups Projects
Commit e1a885c7 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'remove-machine-id' into 'master'

Readd "remove machine-id" logic

Closes #117

See merge request archlinux/arch-boxes!141
parents 7da735e2 42d4e6e2
No related branches found
Tags 1.7.2-1
No related merge requests found
......@@ -79,6 +79,11 @@ EOF
# Misc "tweaks" done after bootstrapping
function postinstall() {
# Remove machine-id see:
# https://gitlab.archlinux.org/archlinux/arch-boxes/-/issues/25
# https://gitlab.archlinux.org/archlinux/arch-boxes/-/issues/117
rm "${MOUNT}/etc/machine-id"
arch-chroot "${MOUNT}" /usr/bin/btrfs subvolume create /swap
chattr +C "${MOUNT}/swap"
chmod 0700 "${MOUNT}/swap"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment