nixos/installer-test: Use nested subvolumes for root to test detection
This commit is contained in:
parent
87b6232f3a
commit
4eff4afa3c
@ -462,8 +462,9 @@ in {
|
|||||||
"mount LABEL=root /mnt",
|
"mount LABEL=root /mnt",
|
||||||
"btrfs subvol create /mnt/boot",
|
"btrfs subvol create /mnt/boot",
|
||||||
"btrfs subvol create /mnt/nixos",
|
"btrfs subvol create /mnt/nixos",
|
||||||
|
"btrfs subvol create /mnt/nixos/default",
|
||||||
"umount /mnt",
|
"umount /mnt",
|
||||||
"mount -o defaults,subvol=nixos LABEL=root /mnt",
|
"mount -o defaults,subvol=nixos/default LABEL=root /mnt",
|
||||||
"mkdir /mnt/boot",
|
"mkdir /mnt/boot",
|
||||||
"mount -o defaults,subvol=boot LABEL=root /mnt/boot",
|
"mount -o defaults,subvol=boot LABEL=root /mnt/boot",
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user