Fix ISO generation

The volume label cannot be longer than 32 characters.
wip/yesman
Eelco Dolstra 11 years ago
parent 34628fe92b
commit 76160c6de7
  1. 2
      modules/installer/cd-dvd/installation-cd-base.nix

@ -20,7 +20,7 @@ with pkgs.lib;
# ISO naming.
isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixosVersion}-${pkgs.stdenv.system}.iso";
isoImage.volumeID = "NIXOS_${config.system.nixosVersion}";
isoImage.volumeID = substring 0 32 "NIXOS_${config.system.nixosVersion}";
# Make the installer more likely to succeed in low memory
# environments. The kernel's overcommit heustistics bite us

Loading…
Cancel
Save