aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/template_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-01 04:10:33 +0900
committerOphestra <cat@gensokyo.uk>2025-08-01 04:21:54 +0900
commit387b86bcdd7798a149ba2349cdf2a699f05cefe5 (patch)
treeede8a378bb00664ba38ce4619e03f72507d7b415 /hst/template_test.go
parent4e856438656ea0a1b30d52975f6b5415568df9a8 (diff)
app: integrate container autoroot
Doing this instead of mounting directly on / because it's impossible to ensure a parent is available for every path hakurei wants to mount to. This situation is similar to autoetc hence the similar name, however a symlink mirror will not work in this case. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/template_test.go')
-rw-r--r--hst/template_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/hst/template_test.go b/hst/template_test.go
index 8761b7d4..7f0caa7d 100644
--- a/hst/template_test.go
+++ b/hst/template_test.go
@@ -126,6 +126,8 @@ func TestTemplate(t *testing.T) {
"/run/user/150"
]
],
+ "auto_root": "/var/lib/hakurei/base/org.debian",
+ "root_flags": 2,
"etc": "/etc",
"auto_etc": true,
"cover": [