Skip to content

Commit 99795b6

Browse files
committed
update example to use cmdline
Signed-off-by: Zen <[email protected]>
1 parent 84a612e commit 99795b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/example.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# This config will decrypt the LUKS volume with uuid "fdf442da-0574-4531-98c7-55227a041f1d", mapping it to "/dev/mapper/root"
22
# It will attempt to mount the btrfs volume with label "rootfs" to /mnt/root
33
# It will pull all current kernel modules from lspci -k results
4+
# It will try to process the cmdline and mount the rootfs based on the root= parameter
45

56
modules = [
67
"ugrd.base.base",
78
"ugrd.kmod.kmod",
89
"ugrd.kmod.nosound",
910
"ugrd.kmod.novideo",
1011
"ugrd.kmod.nonetwork",
12+
"ugrd.base.cmdline",
1113
# "ugrd.crypto.cryptsetup", # This is included by the gpg module
1214
# "ugrd.crypto.gpg", # This is included by the smartcard module
1315
# "ugrd.crypto.smartcard",

0 commit comments

Comments
 (0)