forked from mirrors/nixpkgs
nixosTests.installer.btrfsSubvolDefault: fix warning
This commit is contained in:
parent
3a84452a6e
commit
b4fab1cdff
|
@ -799,7 +799,7 @@ in {
|
|||
"btrfs subvol create /mnt/badpath/boot",
|
||||
"btrfs subvol create /mnt/nixos",
|
||||
"btrfs subvol set-default "
|
||||
+ "$(btrfs subvol list /mnt | grep 'nixos' | awk '{print \$2}') /mnt",
|
||||
+ "$(btrfs subvol list /mnt | grep 'nixos' | awk '{print $2}') /mnt",
|
||||
"umount /mnt",
|
||||
"mount -o defaults LABEL=root /mnt",
|
||||
"mkdir -p /mnt/badpath/boot", # Help ensure the detection mechanism
|
||||
|
|
Loading…
Reference in a new issue