From 53e9dd6aa933c1a5b43da83a88d5e07bf27285bf Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 28 Oct 2026 03:05:09 +0900 Subject: internal/rosa: do not hard code prefix This allows the prefix to be changed, at runtime if needed. Signed-off-by: Ophestra --- internal/rosa/etc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/rosa/etc.go') diff --git a/internal/rosa/etc.go b/internal/rosa/etc.go index 0af51830..83c4ac4a 100644 --- a/internal/rosa/etc.go +++ b/internal/rosa/etc.go @@ -34,7 +34,7 @@ func (a cureEtc) Cure(t *pkg.FContext) (err error) { {"hosts", "127.0.0.1 localhost cure cure-net\n"}, {"passwd", `root:x:0:0:System administrator:/proc/nonexistent:/bin/sh cure:x:1023:1023:Cure:/usr/src:/bin/sh -nobody:x:65534:65534:Overflow user:/proc/nonexistent:/system/bin/false +nobody:x:65534:65534:Overflow user:/proc/nonexistent:` + Prefix + `/bin/false `}, {"group", `root:x:0: cure:x:1023: -- cgit v1.3.1