diff options
Diffstat (limited to 'fst/sandbox.go')
| -rw-r--r-- | fst/sandbox.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fst/sandbox.go b/fst/sandbox.go index 2a6f3475..0cc37908 100644 --- a/fst/sandbox.go +++ b/fst/sandbox.go @@ -39,7 +39,7 @@ type ( MapRealUID bool `json:"map_real_uid"` // expose all devices - Dev bool `json:"dev,omitempty"` + Device bool `json:"device,omitempty"` // container host filesystem bind mounts Filesystem []*FilesystemConfig `json:"filesystem"` // create symlinks inside container filesystem @@ -135,7 +135,7 @@ func (s *SandboxConfig) ToContainer(sys SandboxSys, uid, gid *int) (*sandbox.Par Proc("/proc"). Tmpfs(Tmp, 1<<12, 0755) - if !s.Dev { + if !s.Device { container.Dev("/dev").Mqueue("/dev/mqueue") } else { container.Bind("/dev", "/dev", sandbox.BindDevice) |
