mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 20:16:16 +03:00
tests/installer: Fix provided test uuid and label mounts
This commit is contained in:
parent
b651097d19
commit
6549bcff96
1 changed files with 2 additions and 2 deletions
|
@ -421,9 +421,9 @@ in {
|
||||||
"swapon -L swap",
|
"swapon -L swap",
|
||||||
"mkfs.ext4 -L boot /dev/vda2",
|
"mkfs.ext4 -L boot /dev/vda2",
|
||||||
"mkfs.ext4 -L root /dev/vda4",
|
"mkfs.ext4 -L root /dev/vda4",
|
||||||
"mount LABEL=root /mnt",
|
"mount /dev/disk/by-label/root /mnt",
|
||||||
"mkdir /mnt/boot",
|
"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";
|
grubIdentifier = "provided";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue