aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/etc.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-28 03:05:09 +0900
committerOphestra <cat@gensokyo.uk>2026-10-28 04:12:42 +0900
commit53e9dd6aa933c1a5b43da83a88d5e07bf27285bf (patch)
tree75d23f52901368c2e9764df631d37b8eb7484723 /internal/rosa/etc.go
parent7e3ba55cdc4d4a7c19deb65879e8abbb12a8e458 (diff)
internal/rosa: do not hard code prefix
This allows the prefix to be changed, at runtime if needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/etc.go')
-rw-r--r--internal/rosa/etc.go2
1 files changed, 1 insertions, 1 deletions
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: