mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
nixos/make-disk-image: Remove hack that cleans up machine-id
machine-id is not written by the install bootloader step anymore so this step is also not needed
This commit is contained in:
parent
a4008da2d4
commit
627221c262
1 changed files with 0 additions and 3 deletions
|
@ -616,9 +616,6 @@ let format' = format; in let
|
|||
# __noChroot for example).
|
||||
export HOME=$TMPDIR
|
||||
NIXOS_INSTALL_BOOTLOADER=1 nixos-enter --root $mountPoint -- /nix/var/nix/profiles/system/bin/switch-to-configuration boot
|
||||
|
||||
# The above scripts will generate a random machine-id and we don't want to bake a single ID into all our images
|
||||
rm -f $mountPoint/etc/machine-id
|
||||
''}
|
||||
|
||||
# Set the ownerships of the contents. The modes are set in preVM.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue