forked from security/hakurei
hst: rename net and abstract fields
This makes more sense and matches the container library. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -45,7 +45,7 @@ func withNixDaemon(
|
||||
Container: &hst.ContainerConfig{
|
||||
Hostname: formatHostname(app.Name) + "-" + action,
|
||||
Userns: true, // nix sandbox requires userns
|
||||
Net: net,
|
||||
HostNet: net,
|
||||
SeccompFlags: seccomp.AllowMultiarch,
|
||||
Tty: dropShell,
|
||||
Filesystem: []hst.FilesystemConfigJSON{
|
||||
|
||||
Reference in New Issue
Block a user