Skip to content

Commit 1ee61c0

Browse files
author
zhouhao
committed
Increase the initial value of devices
Signed-off-by: zhouhao <[email protected]>
1 parent 4fad62b commit 1ee61c0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

generate/generate.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,14 @@ func New() Generator {
142142
Type: "mount",
143143
},
144144
},
145-
Devices: []rspec.Device{},
145+
Devices: []rspec.Device{
146+
{
147+
Path: "/dev/fuse",
148+
Type: "c",
149+
Major: 10,
150+
Minor: 229,
151+
},
152+
},
146153
},
147154
}
148155
spec.Linux.Seccomp = seccomp.DefaultProfile(&spec)

0 commit comments

Comments
 (0)