aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'hst/template.go')
-rw-r--r--hst/template.go11
1 files changed, 7 insertions, 4 deletions
diff --git a/hst/template.go b/hst/template.go
index 3ab9c277..391e58e2 100644
--- a/hst/template.go
+++ b/hst/template.go
@@ -1,6 +1,7 @@
package hst
import (
+ "hakurei.app/container"
"hakurei.app/container/seccomp"
"hakurei.app/system"
"hakurei.app/system/dbus"
@@ -85,10 +86,12 @@ func Template() *Config {
Dst: "/data/data/org.chromium.Chromium", Write: true, Must: true},
{Src: "/dev/dri", Device: true},
},
- Link: [][2]string{{"/run/user/65534", "/run/user/150"}},
- Etc: "/etc",
- AutoEtc: true,
- Cover: []string{"/var/run/nscd"},
+ Link: [][2]string{{"/run/user/65534", "/run/user/150"}},
+ AutoRoot: "/var/lib/hakurei/base/org.debian",
+ RootFlags: container.BindWritable,
+ Etc: "/etc",
+ AutoEtc: true,
+ Cover: []string{"/var/run/nscd"},
},
}
}