doc: simple xfs with options

This PR documents an XFS example that uses the `xfs_quota` feature.
This commit is contained in:
Aos Dabbagh committed 2024-12-28 16:43:16 -05:00
1 parent 3a4de9fa3a
commit 7d9940a4df
2 files changed
+47

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
}:
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "xfs";
disko-config = ../example/xfs-with-quota.nix;
extraTestScript = ''
machine.succeed("mountpoint /");
machine.succeed("xfs_quota -c 'print' / | grep -q '(pquota)'")
'';
}