Skip to content

Commit 960b16e

Browse files
committed
alioth: add volume serial and direct config
1 parent f1a2c44 commit 960b16e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/runners/alioth.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ in {
2929
"--blk" (lib.escapeShellArg "path=${storeDisk},readonly=true")
3030
]
3131
++
32-
builtins.concatMap ({ image, ... }:
32+
builtins.concatMap ({ image, serial, direct, ... }:
33+
lib.warnIf (serial != null) ''
34+
Volume serial is not supported for alioth
35+
''
36+
lib.warnIf direct ''
37+
Volume direct IO is not supported for alioth
38+
''
3339
[ "--blk" (lib.escapeShellArg image) ]
3440
) volumes
3541
++

0 commit comments

Comments
 (0)