From 4036da3b5c28d1a37780acc179985067865b94d0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 31 Mar 2025 19:31:37 +0900 Subject: fst: optional configured shell path Signed-off-by: Ophestra --- fst/config.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fst') diff --git a/fst/config.go b/fst/config.go index 866f7309..48f74ebf 100644 --- a/fst/config.go +++ b/fst/config.go @@ -35,6 +35,8 @@ type ConfinementConfig struct { Inner string `json:"home_inner"` // home directory in init namespace Outer string `json:"home"` + // absolute path to shell, empty for host shell + Shell string `json:"shell,omitempty"` // abstract sandbox configuration Sandbox *SandboxConfig `json:"sandbox"` // extra acl ops, runs after everything else @@ -97,6 +99,7 @@ func Template() *Config { Username: "chronos", Outer: "/var/lib/persist/home/org.chromium.Chromium", Inner: "/var/lib/fortify", + Shell: "/run/current-system/sw/bin/zsh", Sandbox: &SandboxConfig{ Hostname: "localhost", Devel: true, -- cgit v1.3.1