cmd/hakurei: print autoroot configuration

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-08-01 04:29:01 +09:00
parent 387b86bcdd
commit c02948e155
2 changed files with 6 additions and 0 deletions

View File

@@ -104,6 +104,10 @@ func printShowInstance(
}
t.Printf(" Flags:\t%s\n", strings.Join(flags, " "))
if container.AutoRoot != "" {
t.Printf(" Root:\t%s (%d)\n", container.AutoRoot, container.RootFlags)
}
etc := container.Etc
if etc == "" {
etc = "/etc"