aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/hpkg/with.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-18 16:47:23 +0900
committerOphestra <cat@gensokyo.uk>2025-08-18 16:48:01 +0900
commita3988c1a7725eb791795643e0810f03bab4572b3 (patch)
tree53284c7405b077a2f09c2b5b08117f85a21554d9 /cmd/hpkg/with.go
parent5db07140726e6e1bf615ed075e9a8b653508c2a7 (diff)
hst: rename net and abstract fields
This makes more sense and matches the container library. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hpkg/with.go')
-rw-r--r--cmd/hpkg/with.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hpkg/with.go b/cmd/hpkg/with.go
index c6f3f22b..acb503d1 100644
--- a/cmd/hpkg/with.go
+++ b/cmd/hpkg/with.go
@@ -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{