Skip to content

Commit 688366d

Browse files
committed
update vm config to use the cmdline module, mask the main root mount
when using the cmdline module Signed-off-by: Zen <[email protected]>
1 parent 41c8cb4 commit 688366d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/vm.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
modules = [
55
"ugrd.base.base",
6+
"ugrd.base.cmdline",
67
"ugrd.kmod.kmod",
78
"ugrd.kmod.vm",
89
# "ugrd.crypto.cryptsetup",

src/ugrd/base/cmdline.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ mod_depends = ['ugrd.base.base']
55

66
[imports.init_mount]
77
"ugrd.base.cmdline" = [ "mount_cmdline_root" ]
8+
9+
[masks]
10+
init_mount = [ "mount_root" ]

0 commit comments

Comments
 (0)