From 7325ee1c0c9506e4dd974e656463af38b056dc7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Sun, 21 Jan 2024 15:42:15 +0100 Subject: [PATCH] don't write config.yaml anymore --- apply-config.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apply-config.go b/apply-config.go index 5541c33..3f71b87 100644 --- a/apply-config.go +++ b/apply-config.go @@ -97,12 +97,6 @@ func applyConfig(cfgPath string, bootMounted bool) (cfg *configV1) { } } - // - write configuration - log.Info().Msg("writing /config.yaml") - if err := os.WriteFile("/system/config.yaml", cfgBytes, 0600); err != nil { - fatal("failed: ", err) - } - // - write files apply.Files(cfg.Files, "/system")