mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
tests/installer: Fix simple tests
This commit is contained in:
parent
8ff4b3b780
commit
429f785135
|
@ -404,7 +404,7 @@ in {
|
|||
"sgdisk -n 1:0:+1M -n 2:0:+100M -N 3 -t 1:ef02 -t 2:8200 -t 3:8300 -c 3:root /dev/vda",
|
||||
"mkswap /dev/vda2 -L swap",
|
||||
"swapon -L swap",
|
||||
"mkfs.ext4 -L root /dev/vda2",
|
||||
"mkfs.ext4 -L root /dev/vda3",
|
||||
"mount LABEL=root /mnt",
|
||||
);
|
||||
'';
|
||||
|
@ -423,7 +423,7 @@ in {
|
|||
"mkfs.ext4 -L root /dev/vda4",
|
||||
"mount LABEL=root /mnt",
|
||||
"mkdir /mnt/boot",
|
||||
"$(blkid -o export /dev/vda2); mount /dev/disk/by-uuid/\\$UUID /mnt/boot"
|
||||
"$(blkid -o export /dev/vda2); mount /dev/disk/by-uuid/\$UUID /mnt/boot"
|
||||
);
|
||||
'';
|
||||
grubIdentifier = "provided";
|
||||
|
|
Loading…
Reference in a new issue