aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/etc.go
diff options
context:
space:
mode:
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 f6ef1fa5..17723a17 100644
--- a/internal/rosa/etc.go
+++ b/internal/rosa/etc.go
@@ -25,7 +25,7 @@ func (a cureEtc) Cure(t *pkg.FContext) (err error) {
if err = os.MkdirAll(etc.String(), 0700); err != nil {
return
}
- for _, f := range [][2]string{
+ for _, f := range []KV{
{"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