mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
doc: simple xfs with options
This PR documents an XFS example that uses the `xfs_quota` feature.
This commit is contained in:
1 parent
3a4de9fa3a
commit
7d9940a4df
2 files changed
+47
No files matched your search
@@ -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)'")
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user