diff options
author | William A. Kennington III <william@wkennington.com> | 2014-05-02 01:07:12 -0500 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-08-28 13:35:36 -0700 |
commit | 6549bcff9607efd68ecd8fca8ca15c4446b16fb9 (patch) | |
tree | 8733f503c82ae5611e8d4e9e8b89699d24363b02 /nixos/tests | |
parent | b651097d193089d14e9407a67b95397bf02129e5 (diff) |
tests/installer: Fix provided test uuid and label mounts
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/installer.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index cb9cc1200626b..d15c43d29bbea 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -421,9 +421,9 @@ in { "swapon -L swap", "mkfs.ext4 -L boot /dev/vda2", "mkfs.ext4 -L root /dev/vda4", - "mount LABEL=root /mnt", + "mount /dev/disk/by-label/root /mnt", "mkdir /mnt/boot", - "$(blkid -o export /dev/vda2); mount /dev/disk/by-uuid/\$UUID /mnt/boot" + "mount /dev/disk/by-uuid/\$(blkid -s UUID -o value /dev/vda2) /mnt/boot" ); ''; grubIdentifier = "provided"; |