don't write config.yaml anymore

This commit is contained in:
Mikaël Cluseau 2024-01-21 15:42:15 +01:00
parent 4a12e1ba8f
commit 7325ee1c0c

View File

@ -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")