Исправлен rollback/firewall lifecycle и shell execution, синхронизирована документация

This commit is contained in:
2026-05-01 21:26:42 +05:00
parent d393308216
commit 7c0b79588f
10 changed files with 53 additions and 18 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import type { InstallContext } from "../types/context";
import { runVisible } from "../lib/process";
import { runRawVisible, runVisible } from "../lib/process";
async function ensureRuntimeIdentity(user: string, expectedHome: string): Promise<void> {
const checkCmd = `
@@ -23,7 +23,7 @@ else
useradd --system --home ${expectedHome} --shell /usr/sbin/nologin ${user}
fi
`;
await runVisible`${checkCmd}`;
await runRawVisible(checkCmd);
}
export async function prepareFilesystem(context: InstallContext): Promise<void> {